You've already forked FFmpeg
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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user