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

Anne Aaron git at videolan.org
Fri Apr 6 23:27:41 CEST 2012


ffmpeg | branch: master | Anne Aaron <funxionx at gmail.com> | Wed Apr  4 11:36:00 2012 -0700| [fdf3a749d3b767d3569b7a19b1f4cf7e411ee2c0] | committer: Martin Storsjö

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

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

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=fdf3a749d3b767d3569b7a19b1f4cf7e411ee2c0
---

 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 ffmpeg-cvslog mailing list