From 4a6b9fc6cc590e4ace73c1f7dd0f3e09f89835e0 Mon Sep 17 00:00:00 2001 From: wg Date: Fri, 25 Oct 2013 18:40:10 +0000 Subject: net/mediatomb: fix patch for ffmpeg2 support - Fix patch for ffmpeg2 support PR: ports/183269 Submitted by: Andriy Syrovenko --- net/mediatomb/files/patch-livav9 | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'net') 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(); -- cgit