changeset 3296:1d7a7c5ea015 libavformat

do not fail if correct is not recognized
author bcoudurier
date Thu, 15 May 2008 22:37:31 +0000
parents 4616ba855d62
children df2df4c07d12
files aiff.c
diffstat 1 files changed, 0 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/aiff.c	Thu May 15 22:14:29 2008 +0000
+++ b/aiff.c	Thu May 15 22:37:31 2008 +0000
@@ -149,9 +149,6 @@
         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)