Revision ce5b6f63

View differences:

libavcodec/cyuv.c
100 100
    if(s->frame.data[0])
101 101
        avctx->release_buffer(avctx, &s->frame);
102 102

  
103
    s->frame.buffer_hints = FF_BUFFER_HINTS_VALID;
103 104
    s->frame.reference = 0;
104 105
    if(avctx->get_buffer(avctx, &s->frame) < 0) {
105 106
        av_log(avctx, AV_LOG_ERROR, "get_buffer() failed\n");
......
180 181
    NULL,
181 182
    cyuv_decode_end,
182 183
    cyuv_decode_frame,
183
    0,
184
    CODEC_CAP_DR1,
184 185
    NULL
185 186
};
186 187

  

Also available in: Unified diff