wmalosslessdec: do not set avctx->coded_frame
authorPaul B Mahol <onemda@gmail.com>
Wed, 10 Jul 2013 13:50:38 +0000 (13:50 +0000)
committerPaul B Mahol <onemda@gmail.com>
Wed, 10 Jul 2013 19:11:12 +0000 (19:11 +0000)
Signed-off-by: Paul B Mahol <onemda@gmail.com>
libavcodec/wmalosslessdec.c

index 90a0109..ae350cf 100644 (file)
@@ -262,7 +262,6 @@ static av_cold int decode_init(AVCodecContext *avctx)
     }
 
     avcodec_get_frame_defaults(&s->frame);
-    avctx->coded_frame    = &s->frame;
     avctx->channel_layout = channel_mask;
     return 0;
 }