[FFmpeg-soc] [soc]: r1739 - eac3/ac3_parser.c

jbr subversion at mplayerhq.hu
Tue Jan 1 04:36:41 CET 2008


Author: jbr
Date: Tue Jan  1 04:36:41 2008
New Revision: 1739

Log:
fix ac3 parsing when error occurs

Modified:
   eac3/ac3_parser.c

Modified: eac3/ac3_parser.c
==============================================================================
--- eac3/ac3_parser.c	(original)
+++ eac3/ac3_parser.c	Tue Jan  1 04:36:41 2008
@@ -125,7 +125,7 @@ static int ac3_sync(AVCodecContext *avct
     err = ff_ac3_parse_header(buf, &hdr);
 
     if(err)
-        return err;
+        return 0;
 
     *sample_rate = hdr.sample_rate;
     *bit_rate = hdr.bit_rate;



More information about the FFmpeg-soc mailing list