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;
_______________________________________________
FFmpeg-soc mailing list
[email protected]
https://lists.mplayerhq.hu/mailman/listinfo/ffmpeg-soc

Reply via email to