From 435ca112dec7f61f6cb989a7988fec139506145c Mon Sep 17 00:00:00 2001 From: tpearson Date: Fri, 14 Oct 2011 23:10:33 +0000 Subject: [PATCH] Fix k3b FTBFS under older versions of ffpmeg git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/k3b@1258938 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- plugins/decoder/ffmpeg/k3bffmpegwrapper.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/plugins/decoder/ffmpeg/k3bffmpegwrapper.cpp b/plugins/decoder/ffmpeg/k3bffmpegwrapper.cpp index e7edd6e..1fda32c 100644 --- a/plugins/decoder/ffmpeg/k3bffmpegwrapper.cpp +++ b/plugins/decoder/ffmpeg/k3bffmpegwrapper.cpp @@ -212,7 +212,7 @@ TQString K3bFFMpegFile::typeComment() const TQString K3bFFMpegFile::title() const { // FIXME: is this UTF8 or something?? -#if LIBAVFORMAT_VERSION_INT < AV_VERSION_INT(52, 31, 0) +#if LIBAVFORMAT_VERSION_INT < AV_VERSION_INT(53, 2, 0) if( d->formatContext->title[0] != '\0' ) return TQString::fromLocal8Bit( d->formatContext->title ); #else @@ -228,7 +228,7 @@ TQString K3bFFMpegFile::title() const TQString K3bFFMpegFile::author() const { // FIXME: is this UTF8 or something?? -#if LIBAVFORMAT_VERSION_INT < AV_VERSION_INT(52, 31, 0) +#if LIBAVFORMAT_VERSION_INT < AV_VERSION_INT(53, 2, 0) if( d->formatContext->author[0] != '\0' ) return TQString::fromLocal8Bit( d->formatContext->author ); #else @@ -244,7 +244,7 @@ TQString K3bFFMpegFile::author() const TQString K3bFFMpegFile::comment() const { // FIXME: is this UTF8 or something?? -#if LIBAVFORMAT_VERSION_INT < AV_VERSION_INT(52, 31, 0) +#if LIBAVFORMAT_VERSION_INT < AV_VERSION_INT(53, 2, 0) if( d->formatContext->comment[0] != '\0' ) return TQString::fromLocal8Bit( d->formatContext->comment ); #else