summaryrefslogtreecommitdiff
path: root/testing/transcode/ffmpeg-0.11.patch
diff options
context:
space:
mode:
Diffstat (limited to 'testing/transcode/ffmpeg-0.11.patch')
-rw-r--r--testing/transcode/ffmpeg-0.11.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/testing/transcode/ffmpeg-0.11.patch b/testing/transcode/ffmpeg-0.11.patch
index 24beb1069..b5601fe2f 100644
--- a/testing/transcode/ffmpeg-0.11.patch
+++ b/testing/transcode/ffmpeg-0.11.patch
@@ -128,3 +128,14 @@ diff -Naur transcode-1.1.7/libtc/tcavcodec.h fixed-tc/libtc/tcavcodec.h
avcodec_register_all(); \
TC_UNLOCK_LIBAVCODEC; \
} while (0)
+--- transcode-1.1.7/export/export_ffmpeg.c.orig 2012-10-19 23:25:16.442303175 -0400
++++ transcode-1.1.7/export/export_ffmpeg.c 2012-10-19 23:26:23.904268733 -0400
+@@ -1249,7 +1249,7 @@
+ return TC_EXPORT_ERROR;
+ }
+
+- if (lavc_venc_context->codec->encode == NULL) {
++ if (lavc_venc_context->codec->encode2 == NULL) {
+ tc_log_warn(MOD_NAME, "could not open FFMPEG codec "
+ "(lavc_venc_context->codec->encode == NULL)");
+ return TC_EXPORT_ERROR;