[SCM] handbrake packaging branch, master, created. de1f9ddeef0932713c9d436d3ce28db14ebe9b39

Fabian Greffrath fabian at greffrath.com
Sun May 13 21:27:19 UTC 2012


Am Samstag, den 12.05.2012, 11:29 -0400 schrieb Andres Mejia:
> I just glanced over the changes to this. To be on the safer side, the
> symbols needed by handbrake and provided in audioconvert.c should be
> built from handbrake. This way, any internal changes made to libav for
> audioconvert won't break handbrake.

IIRC, the only symbol from audioconvert.h that was actually needed was
struct AVAudioConvert, so I declared that myself and was ready with it.
Please compare with my patch from
<http://lists.alioth.debian.org/pipermail/pkg-multimedia-maintainers/2012-February/024218.html>:

--- handbrake-0.9.5.orig/libhb/decavcodec.c
+++ handbrake-0.9.5/libhb/decavcodec.c
@@ -62,7 +62,9 @@
 #include "hb.h"
 #include "hbffmpeg.h"
 #include "downmix.h"
-#include "libavcodec/audioconvert.h"
+//#include "libavcodec/audioconvert.h"
+struct AVAudioConvert;
+typedef struct AVAudioConvert AVAudioConvert;
 
 static int  decavcodecInit( hb_work_object_t *, hb_job_t * );
 static int  decavcodecWork( hb_work_object_t *, hb_buffer_t **,
hb_buffer_t ** );





More information about the pkg-multimedia-maintainers mailing list