We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b239eef commit 0bc1d2fCopy full SHA for 0bc1d2f
libavcodec/aac/aacdec.c
@@ -1104,13 +1104,13 @@ static av_cold int decode_close(AVCodecContext *avctx)
1104
1105
for (int i = 0; i < 2; i++) {
1106
OutputConfiguration *oc = &ac->oc[i];
1107
- av_channel_layout_uninit(&ac->oc[i].ch_layout);
1108
-
1109
AACUSACConfig *usac = &oc->usac;
1110
for (int j = 0; j < usac->nb_elems; j++) {
1111
AACUsacElemConfig *ec = &usac->elems[j];
1112
av_freep(&ec->ext.pl_data);
1113
}
+
+ av_channel_layout_uninit(&ac->oc[i].ch_layout);
1114
1115
1116
for (int type = 0; type < FF_ARRAY_ELEMS(ac->che); type++) {
0 commit comments