[FFmpeg-soc] [soc]: r1790 - eac3/eac3dec.c

jbr subversion at mplayerhq.hu
Mon Jan 7 06:15:49 CET 2008


Author: jbr
Date: Mon Jan  7 06:15:48 2008
New Revision: 1790

Log:
simplify

Modified:
   eac3/eac3dec.c

Modified: eac3/eac3dec.c
==============================================================================
--- eac3/eac3dec.c	(original)
+++ eac3/eac3dec.c	Mon Jan  7 06:15:48 2008
@@ -594,13 +594,7 @@ static int parse_audfrm(AC3DecodeContext
 
 int ff_eac3_parse_header(AC3DecodeContext *s)
 {
-    int err;
-
-    err = parse_bsi(s);
-    if(err)
-        return err;
-    err = parse_audfrm(s);
-    return err;
+    return (parse_bsi(s) || parse_audfrm(s));
 }
 
 #if 0



More information about the FFmpeg-soc mailing list