Revision 95ce961d libavcodec/vc1dec.c

View differences:

libavcodec/vc1dec.c
3039 3039
        }
3040 3040

  
3041 3041
        buf2 = av_mallocz(avctx->extradata_size + FF_INPUT_BUFFER_PADDING_SIZE);
3042
        if(start[0]) start++; // in WVC1 extradata first byte is its size
3042
        start = find_next_marker(start, end); // in WVC1 extradata first byte is its size, but can be 0 in mkv
3043 3043
        next = start;
3044 3044
        for(; next < end; start = next){
3045 3045
            next = find_next_marker(start + 4, end);

Also available in: Unified diff