Revision e20c4069 libavcodec/indeo3.c

View differences:

libavcodec/indeo3.c
1056 1056

  
1057 1057
    iv_decode_frame(s, buf, buf_size);
1058 1058

  
1059
    if(s->frame.data[0])
1060
        avctx->release_buffer(avctx, &s->frame);
1061

  
1059 1062
    s->frame.reference = 0;
1060 1063
    if(avctx->get_buffer(avctx, &s->frame) < 0) {
1061 1064
        fprintf(stderr, "get_buffer() failed\n");
......
1089 1092
    *data_size=sizeof(AVFrame);
1090 1093
    *(AVFrame*)data= s->frame;
1091 1094

  
1092
    avctx->release_buffer(avctx, &s->frame);
1093

  
1094 1095
    return buf_size;
1095 1096
}
1096 1097

  

Also available in: Unified diff