
Untitled
By: a guest on
Aug 12th, 2011 | syntax:
None | size: 0.90 KB | hits: 77 | expires: Never
Date: 2011-07-31 13:42:50 +0200 (Sun, 31 Jul 2011)
New Revision: 30225
Log Message:
Move AFMT_MPA_L1 down in the enum as hwcodec can't play it.
Fixes a NULL-pointer derefence in probe_file_format().
Modified:
trunk/apps/metadata.h
Modified: trunk/apps/metadata.h
===================================================================
--- trunk/apps/metadata.h 2011-07-30 23:21:58 UTC (rev 30224)
+++ trunk/apps/metadata.h 2011-07-31 11:42:50 UTC (rev 30225)
@@ -37,11 +37,11 @@
/* start formats */
- AFMT_MPA_L1, /* MPEG Audio layer 1 */
AFMT_MPA_L2, /* MPEG Audio layer 2 */
AFMT_MPA_L3, /* MPEG Audio layer 3 */
#if CONFIG_CODEC == SWCODEC
+ AFMT_MPA_L1, /* MPEG Audio layer 1 */
AFMT_AIFF, /* Audio Interchange File Format */
AFMT_PCM_WAV, /* Uncompressed PCM in a WAV file */
AFMT_OGG_VORBIS, /* Ogg Vorbis */