This week only. Pastebin PRO Accounts Christmas Special! Don't miss out!Want more features on Pastebin? Sign Up, it's FREE!
Guest

Untitled

By: a guest on Aug 12th, 2011  |  syntax: None  |  size: 0.90 KB  |  views: 80  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. Date: 2011-07-31 13:42:50 +0200 (Sun, 31 Jul 2011)
  2. New Revision: 30225
  3.  
  4. Log Message:
  5. Move AFMT_MPA_L1 down in the enum as hwcodec can't play it.
  6. Fixes a NULL-pointer derefence in probe_file_format().
  7.  
  8. Modified:
  9.    trunk/apps/metadata.h
  10.  
  11. Modified: trunk/apps/metadata.h
  12. ===================================================================
  13. --- trunk/apps/metadata.h       2011-07-30 23:21:58 UTC (rev 30224)
  14. +++ trunk/apps/metadata.h       2011-07-31 11:42:50 UTC (rev 30225)
  15. @@ -37,11 +37,11 @@
  16.  
  17.      /* start formats */
  18.  
  19. -    AFMT_MPA_L1,       /* MPEG Audio layer 1 */
  20.      AFMT_MPA_L2,       /* MPEG Audio layer 2 */
  21.      AFMT_MPA_L3,       /* MPEG Audio layer 3 */
  22.  
  23.  #if CONFIG_CODEC == SWCODEC
  24. +    AFMT_MPA_L1,       /* MPEG Audio layer 1 */
  25.      AFMT_AIFF,         /* Audio Interchange File Format */
  26.      AFMT_PCM_WAV,      /* Uncompressed PCM in a WAV file */
  27.      AFMT_OGG_VORBIS,   /* Ogg Vorbis */
clone this paste RAW Paste Data