Skip to content

Commit

Permalink
+ New field Audio_Channels_Total, update
Browse files Browse the repository at this point in the history
  • Loading branch information
JeromeMartinez committed Jun 16, 2023
1 parent 93c209e commit 795b05b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Source/MediaInfo/File__Analyze_Streams_Finish.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -745,7 +745,7 @@ void File__Analyze::Streams_Finish_StreamOnly_General(size_t StreamPos)
int64u Channels_Total=0;
for (size_t i=0; i<Audio_Count; i++)
{
int64u Channels=Retrieve_Const(Stream_Audio, 0, Audio_Channel_s_).To_int64u();
int64u Channels=Retrieve_Const(Stream_Audio, i, Audio_Channel_s_).To_int64u();
if (!Channels)
{
Channels_Total=0;
Expand Down

0 comments on commit 795b05b

Please sign in to comment.