summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-10-14 23:10:33 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-10-14 23:10:33 +0000
commit435ca112dec7f61f6cb989a7988fec139506145c (patch)
tree040756864b58f243906fb9480e50bf6fd657dbf1
parent8ca9c4bc8f94cc59b99e6410b6d1ed774dabb806 (diff)
downloadk3b-435ca112dec7f61f6cb989a7988fec139506145c.tar.gz
k3b-435ca112dec7f61f6cb989a7988fec139506145c.zip
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
-rw-r--r--plugins/decoder/ffmpeg/k3bffmpegwrapper.cpp6
1 files 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