Skip to content

Commit

Permalink
Merge pull request #64 from g-maxime/stsdv2
Browse files Browse the repository at this point in the history
Allow Version=2 for stsd video chunks
  • Loading branch information
JeromeMartinez authored Feb 28, 2024
2 parents cc6d813 + 2562e91 commit 5af0815
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/MOVMetaEdit_Checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,11 +43,11 @@ jobs:
- name: Configure GUI
run: |
cd Project/Qt
export PATH=/usr/local/opt/qt5/bin:$PATH
export PATH=/usr/local/opt/qt@5/bin:$PATH
export QT_SELECT=qt5
./prepare INCLUDEPATH+=/usr/local/include CONFIG+=c++11 -after QMAKE_MACOSX_DEPLOYMENT_TARGET=10.9
- name: Build GUI
run: |
cd Project/Qt
export PATH=/usr/local/opt/qt5/bin:$PATH
export PATH=/usr/local/opt/qt@5/bin:$PATH
make
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ void mp4_moov_trak_mdia_minf_stbl_stsd_xxxxVideo::Read_Internal ()
Skip_XX(6); // Reserved
Skip_XX(2); // Data reference index
Get_B2(Version);
if (Version>1)
if (Version>2)
throw exception_read_block("Can not parse moov trak mdia minf stbl stsd xxxxVideo (version not supported)");
Skip_XX(2); // Revision level
Skip_XX(4); // Vendor
Expand Down

0 comments on commit 5af0815

Please sign in to comment.