Browse Source

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

Signed-off-by: Martin Storsjö <martin@martin.st>
tags/n0.11
Anne Aaron Martin Storsjö 13 years ago
parent
commit
fdf3a749d3
1 changed files with 1 additions and 2 deletions
  1. +1
    -2
      libavcodec/mpeg12.c

+ 1
- 2
libavcodec/mpeg12.c View File

@@ -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) {


Loading…
Cancel
Save