Revision ce5e49b0 libavcodec/vp3.c

View differences:

libavcodec/vp3.c
1876 1876
        return buf_size;
1877 1877

  
1878 1878
    s->current_frame.reference = 3;
1879
    s->current_frame.pict_type = s->keyframe ? FF_I_TYPE : FF_P_TYPE;
1879
    s->current_frame.pict_type = s->keyframe ? AV_PICTURE_TYPE_I : AV_PICTURE_TYPE_P;
1880 1880
    if (ff_thread_get_buffer(avctx, &s->current_frame) < 0) {
1881 1881
        av_log(s->avctx, AV_LOG_ERROR, "get_buffer() failed\n");
1882 1882
        goto error;
......
1908 1908
            av_log(s->avctx, AV_LOG_WARNING, "vp3: first frame not a keyframe\n");
1909 1909

  
1910 1910
            s->golden_frame.reference = 3;
1911
            s->golden_frame.pict_type = FF_I_TYPE;
1911
            s->golden_frame.pict_type = AV_PICTURE_TYPE_I;
1912 1912
            if (ff_thread_get_buffer(avctx, &s->golden_frame) < 0) {
1913 1913
                av_log(s->avctx, AV_LOG_ERROR, "get_buffer() failed\n");
1914 1914
                goto error;

Also available in: Unified diff