History

avcodec/aac/aacdec: Fix -Wdeclaration-after-statement

Andreas Rheinhardt committed 1 year ago

Commit 0bc1d2f1 parent b239eef1 file · +2 −2Browse files

Showing the changes to libavcodec/aac (1 of 1 file). Show all

Unified · Split

libavcodec/aac/aacdec.c+2−2
@@ -1104,13 +1104,13 @@ static av_cold int decode_close(AVCodecContext *avctx) · 1103 unmodified lines
11041104
11051105 for (int i = 0; i < 2; i++) {
11061106 OutputConfiguration *oc = &ac->oc[i];
1107− av_channel_layout_uninit(&ac->oc[i].ch_layout);
1108−
11091107 AACUSACConfig *usac = &oc->usac;
11101108 for (int j = 0; j < usac->nb_elems; j++) {
11111109 AACUsacElemConfig *ec = &usac->elems[j];
11121110 av_freep(&ec->ext.pl_data);
11131111 }
1112+
1113+ av_channel_layout_uninit(&ac->oc[i].ch_layout);
11141114 }
11151115
11161116 for (int type = 0; type < FF_ARRAY_ELEMS(ac->che); type++) {

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t