Revision 4cdfaf80

View differences:

libavcodec/mpegvideo.c
2924 2924
        pc->index += *buf_size;
2925 2925
        return -1;
2926 2926
    }
2927
    
2927

  
2928
    *buf_size=
2928 2929
    pc->overread_index= pc->index + next;
2929 2930
    
2930 2931
    /* append to buffer */
......
2934 2935
        memcpy(&pc->buffer[pc->index], *buf, next + FF_INPUT_BUFFER_PADDING_SIZE );
2935 2936
        pc->index = 0;
2936 2937
        *buf= pc->buffer;
2937
        *buf_size= pc->last_index + next;
2938 2938
    }
2939 2939

  
2940 2940
    /* store overread bytes */

Also available in: Unified diff