aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec
diff options
context:
space:
mode:
authorAnne Aaron <funxionx@gmail.com>2012-04-04 11:36:00 -0700
committerMartin Storsjö <martin@martin.st>2012-04-06 18:32:17 +0300
commitfdf3a749d3b767d3569b7a19b1f4cf7e411ee2c0 (patch)
treecb98c7e6c7e87520aee0a3f10829063496ef55b6 /libavcodec
parentbb0618e68b31db3ee8b572a39c2bb98d64338d52 (diff)
downloadffmpeg-fdf3a749d3b767d3569b7a19b1f4cf7e411ee2c0.tar.gz
mpeg12: Do not change frame_pred_frame_dct flag and demote error into a warning
Signed-off-by: Martin Storsjö <martin@martin.st>
Diffstat (limited to 'libavcodec')
-rw-r--r--libavcodec/mpeg12.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/libavcodec/mpeg12.c b/libavcodec/mpeg12.c
index c49343f4b2..966f2e13fe 100644
--- a/libavcodec/mpeg12.c
+++ b/libavcodec/mpeg12.c
@@ -1521,8 +1521,7 @@ static void mpeg_decode_picture_coding_extension(Mpeg1Context *s1)
}
if (s->progressive_sequence && !s->frame_pred_frame_dct) {
- av_log(s->avctx, AV_LOG_ERROR, "invalid frame_pred_frame_dct\n");
- s->frame_pred_frame_dct = 1;
+ av_log(s->avctx, AV_LOG_WARNING, "invalid frame_pred_frame_dct\n");
}
if (s->picture_structure == PICT_FRAME) {