mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-12-08 06:09:50 +00:00
decode_audio3: initialize AVFrame
Same fix and issue as in a25d912dca
Signed-off-by: Anton Khirnov <anton@khirnov.net>
This commit is contained in:
parent
5459848b14
commit
6d1270a0f9
1 changed files with 1 additions and 1 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue