On Sun, Aug 25, 2013 at 03:31:12PM +0200, David Suárez wrote:
> Source: transcode
> Version: 3:1.1.7-5
> Severity: serious
> Tags: jessie sid
> User: debian...@lists.debian.org
> Usertags: qa-ftbfs-20130825 qa-ftbfs
> Justification: FTBFS on amd64
> 
> Hi,
> 
> During a rebuild of all packages in sid, your package failed to build on
> amd64.
> 
> Related to current libav9 transition (see #706798).

I'm attaching two initial patches. More work is needed, though. Libav 9
drops some SVCD-related code, which is used by Transcode. This would 
probably need to be sorted out with upstream. Which seems dormant, given 
that the last release is from 2011...

Cheers,
        Moritz
diff -aur transcode-1.1.7.orig/export/export_ffmpeg.c transcode-1.1.7/export/export_ffmpeg.c
--- transcode-1.1.7.orig/export/export_ffmpeg.c	2011-11-19 17:50:27.000000000 +0100
+++ transcode-1.1.7/export/export_ffmpeg.c	2013-07-22 17:57:04.740000000 +0200
@@ -180,7 +180,7 @@
 
 
 /* START: COPIED FROM ffmpeg-0.5_p22846(ffmpeg.c, cmdutils.c) */
-#include <libavcodec/opt.h>
+#include <libavutil/opt.h>
 #include <libavutil/avstring.h>
 #include <libswscale/swscale.h>
 

AVCodecContext.encode is no longer exported. Removing the entire check, following
a similar reasoning as 
http://devel.mplayer2.org/changeset/f5e0365c8e76e2ef797027134f1819e613764d7e/

diff -aur transcode-1.1.7.orig/export/export_ffmpeg.c transcode-1.1.7/export/export_ffmpeg.c
--- transcode-1.1.7.orig/export/export_ffmpeg.c	2011-11-19 17:50:27.000000000 +0100
+++ transcode-1.1.7/export/export_ffmpeg.c	2013-07-22 18:06:14.136000000 +0200
@@ -1252,12 +1252,6 @@
       return TC_EXPORT_ERROR;
     }
 
-    if (lavc_venc_context->codec->encode == NULL) {
-      tc_log_warn(MOD_NAME, "could not open FFMPEG codec "
-              "(lavc_venc_context->codec->encode == NULL)");
-      return TC_EXPORT_ERROR;
-    }
-
     /* free second pass buffer, its not needed anymore */
     if (lavc_venc_context->stats_in)
       free(lavc_venc_context->stats_in);

_______________________________________________
pkg-multimedia-maintainers mailing list
pkg-multimedia-maintainers@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-multimedia-maintainers

Reply via email to