Skip to content

Commit

Permalink
fix #914
Browse files Browse the repository at this point in the history
  • Loading branch information
barbibulle committed Feb 17, 2024
1 parent 76e3a3b commit 66e2922
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Source/C++/Core/Ap4Dec3Atom.cpp
Expand Up @@ -141,7 +141,7 @@ AP4_Dec3Atom::AP4_Dec3Atom(AP4_UI32 size, const AP4_UI08* payload) :
payload_size -= 2;
m_SubStreams.SetItemCount(substream_count);
for (unsigned int i=0; i<substream_count; i++) {
if (payload_size < 3) {
if (payload_size < 4) {
m_SubStreams[i].fscod = 0;
m_SubStreams[i].bsid = 0;
m_SubStreams[i].bsmod = 0;
Expand Down

0 comments on commit 66e2922

Please sign in to comment.