[FFmpeg-soc] [soc]: r2236 - eac3/ac3dec.c

jbr subversion at mplayerhq.hu
Wed May 28 02:51:51 CEST 2008


Author: jbr
Date: Wed May 28 02:51:50 2008
New Revision: 2236

Log:
add error message for invalid frame type

Modified:
   eac3/ac3dec.c

Modified: eac3/ac3dec.c
==============================================================================
--- eac3/ac3dec.c	(original)
+++ eac3/ac3dec.c	Wed May 28 02:51:50 2008
@@ -1265,6 +1265,9 @@ static int ac3_decode_frame(AVCodecConte
             case AC3_PARSE_ERROR_FRAME_SIZE:
                 av_log(avctx, AV_LOG_ERROR, "invalid frame size\n");
                 break;
+            case AC3_PARSE_ERROR_FRAME_TYPE:
+                av_log(avctx, AV_LOG_ERROR, "invalid frame type\n");
+                break;
             default:
                 av_log(avctx, AV_LOG_ERROR, "invalid header\n");
                 break;



More information about the FFmpeg-soc mailing list