[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    kdeextragear-1/k3b/plugins/decoder/ffmpeg
From:       Mario Teijeiro Otero <emeteo () escomposlinux ! org>
Date:       2005-01-27 17:46:53
Message-ID: 20050127174653.70F1D1CF86 () office ! kde ! org
[Download RAW message or body]

CVS commit by mteijeiro: 

* Fix compilaton with libavcodec from cvs.

BUG: 97958


  M +5 -1      k3bffmpegwrapper.cpp   1.3


--- kdeextragear-1/k3b/plugins/decoder/ffmpeg/k3bffmpegwrapper.cpp  #1.2:1.3
@@ -286,5 +286,9 @@ bool K3bFFMpegFile::seek( const K3b::Msf
 
   // FIXME: do we really need the start_time and why?
+#if LIBAVFORMAT_VERSION_INT >= 0x000409
+  return ( av_seek_frame( d->formatContext, -1, timestamp + d->formatContext->start_time, 0 ) >= 0 );
+#else
   return ( av_seek_frame( d->formatContext, -1, timestamp + d->formatContext->start_time ) >= 0 );
+#endif
 }
 


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic