Commit 6d1270a0 authored by Ilkka Ollakka's avatar Ilkka Ollakka Committed by Anton Khirnov

decode_audio3: initialize AVFrame

Same fix and issue as in a25d912dSigned-off-by: 's avatarAnton Khirnov <anton@khirnov.net>
parent 5459848b
......@@ -1344,7 +1344,7 @@ int attribute_align_arg avcodec_decode_audio3(AVCodecContext *avctx, int16_t *sa
int *frame_size_ptr,
AVPacket *avpkt)
{
AVFrame frame;
AVFrame frame = {0};
int ret, got_frame = 0;
if (avctx->get_buffer != avcodec_default_get_buffer) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment