Browse Source

vc1dec: remove interlaced warning

While not yet bugfree, the warning is IMHO no longer appropriate

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
tags/n2.0
Michael Niedermayer 12 years ago
parent
commit
05f4c05061
2 changed files with 0 additions and 5 deletions
  1. +0
    -3
      libavcodec/vc1.c
  2. +0
    -2
      libavcodec/vc1.h

+ 0
- 3
libavcodec/vc1.c View File

@@ -866,9 +866,6 @@ int ff_vc1_parse_frame_header_adv(VC1Context *v, GetBitContext* gb)
if (fcm) { if (fcm) {
if (fcm == ILACE_FIELD) if (fcm == ILACE_FIELD)
field_mode = 1; field_mode = 1;
if (!v->warn_interlaced++)
av_log(v->s.avctx, AV_LOG_ERROR,
"Interlaced frames/fields support is incomplete\n");
} }
} else { } else {
fcm = PROGRESSIVE; fcm = PROGRESSIVE;


+ 0
- 2
libavcodec/vc1.h View File

@@ -399,8 +399,6 @@ typedef struct VC1Context{
int end_mb_x; ///< Horizontal macroblock limit (used only by mss2) int end_mb_x; ///< Horizontal macroblock limit (used only by mss2)


int parse_only; ///< Context is used within parser int parse_only; ///< Context is used within parser

int warn_interlaced;
} VC1Context; } VC1Context;


/** Find VC-1 marker in buffer /** Find VC-1 marker in buffer


Loading…
Cancel
Save