aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwg <wg@FreeBSD.org>2013-10-26 02:40:10 +0800
committerwg <wg@FreeBSD.org>2013-10-26 02:40:10 +0800
commit4a6b9fc6cc590e4ace73c1f7dd0f3e09f89835e0 (patch)
tree2be1ad17c3900b1473d4f3df0dd3846e5a892b5f
parent2af1d5fb0b040d70c20864349cfd3965f3e443d7 (diff)
downloadfreebsd-ports-gnome-4a6b9fc6cc590e4ace73c1f7dd0f3e09f89835e0.tar.gz
freebsd-ports-gnome-4a6b9fc6cc590e4ace73c1f7dd0f3e09f89835e0.tar.zst
freebsd-ports-gnome-4a6b9fc6cc590e4ace73c1f7dd0f3e09f89835e0.zip
net/mediatomb: fix patch for ffmpeg2 support
- Fix patch for ffmpeg2 support PR: ports/183269 Submitted by: Andriy Syrovenko <andriys gmail.com>
-rw-r--r--net/mediatomb/files/patch-livav99
1 files changed, 9 insertions, 0 deletions
diff --git a/net/mediatomb/files/patch-livav9 b/net/mediatomb/files/patch-livav9
index 9a706fc2cef8..27833286566c 100644
--- a/net/mediatomb/files/patch-livav9
+++ b/net/mediatomb/files/patch-livav9
@@ -12,6 +12,15 @@ diff -burN mediatomb-0.12.1.old//src/metadata/ffmpeg_handler.cc mediatomb-0.12.1
if (tag && tag->value && tag->value[0])
{
log_debug("Added metadata %s: %s\n", m->avname, tag->value);
+@@ -281,7 +281,7 @@
+ int x = 0;
+ int y = 0;
+
+- AVFormatContext *pFormatCtx;
++ AVFormatContext *pFormatCtx = 0;
+
+ // Suppress all log messages
+ av_log_set_callback(FfmpegNoOutputStub);
@@ -290,14 +290,14 @@
av_register_all();