Revision 5b225466 libavcodec/qpeg.c

View differences:

libavcodec/qpeg.c
280 280

  
281 281
static int decode_end(AVCodecContext *avctx){
282 282
    QpegContext * const a = avctx->priv_data;
283
    AVFrame * const p= (AVFrame*)&a->pic;
284
    
285
    if(p->data[0])
286
        avctx->release_buffer(avctx, p);
283 287

  
284 288
    av_free(a->refdata);
285 289
    return 0;

Also available in: Unified diff