[FFmpeg-cvslog] r13170 - trunk/libavformat/aiff.c

bcoudurier subversion
Fri May 16 00:37:32 CEST 2008


Author: bcoudurier
Date: Fri May 16 00:37:31 2008
New Revision: 13170

Log:
do not fail if correct is not recognized

Modified:
   trunk/libavformat/aiff.c

Modified: trunk/libavformat/aiff.c
==============================================================================
--- trunk/libavformat/aiff.c	(original)
+++ trunk/libavformat/aiff.c	Fri May 16 00:37:31 2008
@@ -149,9 +149,6 @@ static unsigned int get_aiff_header(Byte
         codec->bits_per_sample = av_get_bits_per_sample(codec->codec_id);
     }
 
-    if (!codec->codec_id)
-        return AVERROR_INVALIDDATA;
-
     /* Block align needs to be computed in all cases, as the definition
      * is specific to applications -> here we use the WAVE format definition */
     if (!codec->block_align)




More information about the ffmpeg-cvslog mailing list