Mercurial > libavcodec.hg
diff ac3dec.c @ 6529:5542d0c04a55 libavcodec
using stream type in eac3 parser
| author | bwolowiec |
|---|---|
| date | Mon, 24 Mar 2008 21:25:49 +0000 |
| parents | 48759bfbd073 |
| children | 8f2186d5daca |
line wrap: on
line diff
--- a/ac3dec.c Mon Mar 24 11:49:59 2008 +0000 +++ b/ac3dec.c Mon Mar 24 21:25:49 2008 +0000 @@ -1151,6 +1151,9 @@ case AC3_PARSE_ERROR_FRAME_SIZE: av_log(avctx, AV_LOG_ERROR, "invalid frame size\n"); break; + case AC3_PARSE_ERROR_STREAM_TYPE: + av_log(avctx, AV_LOG_ERROR, "invalid stream type\n"); + break; default: av_log(avctx, AV_LOG_ERROR, "invalid header\n"); break;
