1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2025-11-23 21:54:53 +02:00

lavc decoders: properly initialize AVFrame.

This commit is contained in:
Anton Khirnov
2013-02-13 08:50:04 +01:00
parent 759001c534
commit 3b199d29cd
25 changed files with 34 additions and 13 deletions

View File

@@ -66,6 +66,8 @@ static av_cold int decode_init(AVCodecContext *avctx)
s->avctx = avctx;
s->tmpbuf = NULL;
avcodec_get_frame_defaults(&s->frame);
ff_dsputil_init(&s->dsp, avctx);
return 0;