mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-03-01 02:00:50 +00:00
mpeg12: Do not change frame_pred_frame_dct flag and demote error into a warning
Signed-off-by: Martin Storsjö <martin@martin.st>
This commit is contained in:
parent
bb0618e68b
commit
fdf3a749d3
@ -1521,8 +1521,7 @@ static void mpeg_decode_picture_coding_extension(Mpeg1Context *s1)
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (s->progressive_sequence && !s->frame_pred_frame_dct) {
|
if (s->progressive_sequence && !s->frame_pred_frame_dct) {
|
||||||
av_log(s->avctx, AV_LOG_ERROR, "invalid frame_pred_frame_dct\n");
|
av_log(s->avctx, AV_LOG_WARNING, "invalid frame_pred_frame_dct\n");
|
||||||
s->frame_pred_frame_dct = 1;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if (s->picture_structure == PICT_FRAME) {
|
if (s->picture_structure == PICT_FRAME) {
|
||||||
|
Loading…
Reference in New Issue
Block a user