Revision f44967b1

View differences:

libavcodec/svq3.c
949 949
    s->mb_x = s->mb_y = h->mb_xy = 0;
950 950

  
951 951
    if (svq3->watermark_key) {
952
        svq3->buf = av_fast_realloc(svq3->buf, &svq3->buf_size,
953
                                    buf_size+FF_INPUT_BUFFER_PADDING_SIZE);
952
        av_fast_malloc(&svq3->buf, &svq3->buf_size,
953
                       buf_size+FF_INPUT_BUFFER_PADDING_SIZE);
954 954
        if (!svq3->buf)
955 955
            return AVERROR(ENOMEM);
956 956
        memcpy(svq3->buf, avpkt->data, buf_size);

Also available in: Unified diff