forked from FFmpeg/FFmpeg
Merge commit '8f24c12be7a3b3ea105e67bba9a867fe210a2333'
* commit '8f24c12be7a3b3ea105e67bba9a867fe210a2333': ac3dec: Don't consume more data than the actual input packet size Merged-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
commit
0b95f01140
1 changed files with 1 additions and 1 deletions
|
@ -1308,7 +1308,7 @@ static int ac3_decode_frame(AVCodecContext * avctx, void *data,
|
||||||
av_log(avctx, AV_LOG_ERROR, "unsupported frame type : "
|
av_log(avctx, AV_LOG_ERROR, "unsupported frame type : "
|
||||||
"skipping frame\n");
|
"skipping frame\n");
|
||||||
*got_frame_ptr = 0;
|
*got_frame_ptr = 0;
|
||||||
return s->frame_size;
|
return buf_size;
|
||||||
} else {
|
} else {
|
||||||
av_log(avctx, AV_LOG_ERROR, "invalid frame type\n");
|
av_log(avctx, AV_LOG_ERROR, "invalid frame type\n");
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue