Skip to content

Commit

Permalink
using non-temp value
Browse files Browse the repository at this point in the history
  • Loading branch information
abdelrahim-hentabli committed Apr 28, 2024
1 parent 9e47514 commit 2880766
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/common/dump_mp4.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ static void add_stream(OutputStream *ost, AVFormatContext *oc,
av_channel_layout_copy(&c->ch_layout, &temp);
#else
c->channels = av_get_channel_layout_nb_channels(c->channel_layout);
c->channel_layout = temp;
c->channel_layout = AV_CHANNEL_LAYOUT_STEREO;
if ((*codec)->channel_layouts) {
c->channel_layout = (*codec)->channel_layouts[0];
for (i = 0; (*codec)->channel_layouts[i]; i++) {
Expand Down

0 comments on commit 2880766

Please sign in to comment.