diff options
author | Ilkka Ollakka <ileoo@videolan.org> | 2012-10-31 11:24:36 +0200 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2012-11-01 19:43:05 +0100 |
commit | 6d1270a0f9ededd37ed14bde52b8ee69b99e8a7f (patch) | |
tree | 91eb8d418282ad4819a83513918775ba65562080 | |
parent | 5459848b146f34defe894129ba1fc0d0572754f5 (diff) | |
download | ffmpeg-6d1270a0f9ededd37ed14bde52b8ee69b99e8a7f.tar.gz |
decode_audio3: initialize AVFrame
Same fix and issue as in a25d912dca9cd553440167e0476c47581359c0fc
Signed-off-by: Anton Khirnov <anton@khirnov.net>
-rw-r--r-- | libavcodec/utils.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/utils.c b/libavcodec/utils.c index 58dfe971e1..78726aeff9 100644 --- a/libavcodec/utils.c +++ b/libavcodec/utils.c @@ -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) { |