[libav-commits] mpeg12: Do not change frame_pred_frame_dct flag and demote error into a warning

Anne Aaron git at libav.org
Fri Apr 6 17:41:15 CEST 2012


Module: libav
Branch: master
Commit: fdf3a749d3b767d3569b7a19b1f4cf7e411ee2c0

Author:    Anne Aaron <funxionx at gmail.com>
Committer: Martin Storsjö <martin at martin.st>
Date:      Wed Apr  4 11:36:00 2012 -0700

mpeg12: Do not change frame_pred_frame_dct flag and demote error into a warning

Signed-off-by: Martin Storsjö <martin at martin.st>

---

 libavcodec/mpeg12.c |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/libavcodec/mpeg12.c b/libavcodec/mpeg12.c
index c49343f..966f2e1 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) {



More information about the libav-commits mailing list