Revision 6231d098

View differences:

libavcodec/mdec.c
239 239
static av_cold int decode_end(AVCodecContext *avctx){
240 240
    MDECContext * const a = avctx->priv_data;
241 241

  
242
    if(a->picture.data[0])
243
        avctx->release_buffer(avctx, &a->picture);
242 244
    av_freep(&a->bitstream_buffer);
243 245
    av_freep(&a->picture.qscale_table);
244 246
    a->bitstream_buffer_size=0;

Also available in: Unified diff