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
v3.5.13-sru
tpearson 13 years ago
parent 8ca9c4bc8f
commit 435ca112de

@ -212,7 +212,7 @@ TQString K3bFFMpegFile::typeComment() const
TQString K3bFFMpegFile::title() const TQString K3bFFMpegFile::title() const
{ {
// FIXME: is this UTF8 or something?? // 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' ) if( d->formatContext->title[0] != '\0' )
return TQString::fromLocal8Bit( d->formatContext->title ); return TQString::fromLocal8Bit( d->formatContext->title );
#else #else
@ -228,7 +228,7 @@ TQString K3bFFMpegFile::title() const
TQString K3bFFMpegFile::author() const TQString K3bFFMpegFile::author() const
{ {
// FIXME: is this UTF8 or something?? // 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' ) if( d->formatContext->author[0] != '\0' )
return TQString::fromLocal8Bit( d->formatContext->author ); return TQString::fromLocal8Bit( d->formatContext->author );
#else #else
@ -244,7 +244,7 @@ TQString K3bFFMpegFile::author() const
TQString K3bFFMpegFile::comment() const TQString K3bFFMpegFile::comment() const
{ {
// FIXME: is this UTF8 or something?? // 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' ) if( d->formatContext->comment[0] != '\0' )
return TQString::fromLocal8Bit( d->formatContext->comment ); return TQString::fromLocal8Bit( d->formatContext->comment );
#else #else

Loading…
Cancel
Save