Revision 9e553f7a

View differences:

libavcodec/vc1.c
781 781

  
782 782
    if(v->interlace){
783 783
        v->fcm = decode012(gb);
784
        if(v->fcm) return -1; // interlaced frames/fields are not implemented
784
        if(v->fcm){
785
            if(!v->warn_interlaced++)
786
                av_log(v->s.avctx, AV_LOG_ERROR, "Interlaced frames/fields support is not implemented\n");
787
            return -1;
788
        }
785 789
    }
786 790
    switch(get_unary(gb, 0, 4)) {
787 791
    case 0:
libavcodec/vc1.h
312 312
    uint8_t closed_entry;       ///< Closed entry point flag (CLOSED_ENTRY syntax element)
313 313

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

  
316
    int warn_interlaced;
315 317
} VC1Context;
316 318

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

Also available in: Unified diff