From 9d9709f38b3ffe2e850fdf1e0220f889b2bfbaf6 Mon Sep 17 00:00:00 2001 From: Erik Zandvliet Date: Tue, 23 Jul 2013 13:12:49 +0200 Subject: [PATCH] Fixed minor bugs in MP4, resulting in working mp4 conversion. --- lib/mp4.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/mp4.cpp b/lib/mp4.cpp index 8712c442..5b49447c 100644 --- a/lib/mp4.cpp +++ b/lib/mp4.cpp @@ -3972,7 +3972,6 @@ namespace MP4 { void STCO::setChunkOffset(uint32_t newChunkOffset, uint32_t no){ if (no + 1 > getEntryCount()){ - setEntryCount(no+1); for (int i = getEntryCount(); i < no; i++){ setInt32(0, 8 + i * 4);//filling undefined entries }