You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-10 06:10:52 +02:00
avcodec/aacdec_template: Initialize layout_map
on declaration
Without this change, it'll cause use-of-uninitialized-variable error. Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
This commit is contained in:
committed by
Michael Niedermayer
parent
a0f20c3b3f
commit
b54c7797c5
@@ -3312,7 +3312,7 @@ static int aac_decode_frame_int(AVCodecContext *avctx, void *data,
|
|||||||
break;
|
break;
|
||||||
|
|
||||||
case TYPE_PCE: {
|
case TYPE_PCE: {
|
||||||
uint8_t layout_map[MAX_ELEM_ID*4][3];
|
uint8_t layout_map[MAX_ELEM_ID*4][3] = {{0}};
|
||||||
int tags;
|
int tags;
|
||||||
|
|
||||||
int pushed = push_output_configuration(ac);
|
int pushed = push_output_configuration(ac);
|
||||||
|
Reference in New Issue
Block a user