Comment 1 for bug 305539

Revision history for this message
Markus (markus-s-mnet-mail) wrote : Re: error when using ffmpeg unstripped libraries

This is a typo-bug in the Patch 06_libavcodec.dpatch:
+++++++++++++
#! /bin/sh /usr/share/dpatch/dpatch-run
## 06_libavcodec.patch.dpatch by Iain Lane <email address hidden>
##
## All lines beginning with `## DP:' are a description of the patch.
## DP: transcode FTBFS due to libavcodec changes without this patch,
## DP: which was found at <http://bugs.sourcemage.org/show_bug.cgi?id=13866>

@DPATCH@
diff -urNad transcode-1.0.2~/export/aud_aux.c transcode-1.0.2/export/aud_aux.c
--- transcode-1.0.2~/export/aud_aux.c 2005-07-04 08:09:31.000000000 +0100
+++ transcode-1.0.2/export/aud_aux.c 2008-07-08 21:26:01.000000000 +0100
@@ -361,8 +361,7 @@

     pthread_mutex_lock(&init_avcodec_lock);
     avcodec_init();
- register_avcodec(&ac3_encoder);
- register_avcodec(&mp2_encoder);
+ avcodec_regisiter_all();
     pthread_mutex_unlock(&init_avcodec_lock);

     switch (o_codec) {
+++++++++++++++++++

According to http://bugs.sourcemage.org/show_bug.cgi?id=13866 it should read:
++++++++++++++++
- register_avcodec(&ac3_encoder);
- register_avcodec(&mp2_encoder);
+ avcodec_register_all();
++++++++++++++++

I wonder, why no other has experienced this bug?