[libav-bugs] [Bug 308] Cannot transcode audiobook (.m4b)

bugzilla-daemon at aruru.libav.org bugzilla-daemon at aruru.libav.org
Mon Jun 25 11:28:24 CEST 2012


http://bugzilla.libav.org/show_bug.cgi?id=308

--- Comment #5 from viacheslav.dukalskiy at f-secure.com 2012-06-25 11:28:24 CEST ---
I am not sure how contribution to the project works here, but the problem can
be fixed by applying the patch:

 Index: libav-0.8.3/libavformat/mov.c
===================================================================
--- libav-0.8.3.orig/libavformat/mov.c  2012-06-21 11:13:47.000000000 +0300
+++ libav-0.8.3/libavformat/mov.c       2012-06-21 11:16:36.000000000 +0300
@@ -73,7 +73,8 @@
     short current, total;
     avio_rb16(pb); // unknown
     current = avio_rb16(pb);
-    total = avio_rb16(pb);
+    if (len >= 6)
+        total = avio_rb16(pb);
     if (!total)
         snprintf(buf, sizeof(buf), "%d", current);
     else

-- 
Configure bugmail: http://bugzilla.libav.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.


More information about the libav-bugs mailing list