mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-01-13 21:28:01 +02:00
Merge commit 'b56afb48aecb96e03347f5b569f16a64147c18b1'
* commit 'b56afb48aecb96e03347f5b569f16a64147c18b1':
mpeg12dec: Print error/warning messages on issues in mpeg1_decode_sequence()
Conflicts:
libavcodec/mpeg12dec.c
See: 88b4c1a731
Merged-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
commit
bcc43de51f
@ -2125,7 +2125,8 @@ static int mpeg1_decode_sequence(AVCodecContext *avctx,
|
||||
}
|
||||
s->frame_rate_index = get_bits(&s->gb, 4);
|
||||
if (s->frame_rate_index == 0 || s->frame_rate_index > 13) {
|
||||
av_log(avctx, AV_LOG_WARNING, "frame_rate_index %d is invalid\n", s->frame_rate_index);
|
||||
av_log(avctx, AV_LOG_WARNING,
|
||||
"frame_rate_index %d is invalid\n", s->frame_rate_index);
|
||||
s->frame_rate_index = 1;
|
||||
}
|
||||
s->bit_rate = get_bits(&s->gb, 18) * 400;
|
||||
|
Loading…
Reference in New Issue
Block a user