On 12/14/2012 06:09 PM, Bruce Dubbs wrote:
>
> I got some of those warnings, but got errors. too:
>
> /tmp/k3b/k3b-2.0.2/plugins/decoder/ffmpeg/k3bffmpegwrapper.cpp:91:15:
> error: '::av_open_input_file' has not been declared
>
> /tmp/k3b/k3b-2.0.2/plugins/decoder/ffmpeg/k3bffmpegwrapper.cpp:146:5:
> error: '::dump_format' has not been declared
>
> It may be a ffmpeg issue:
>
> $ ffmpeg -version
> ffmpeg version 1.0
> built on Oct  7 2012 18:51:04 with gcc 4.7.1 (GCC)
> configuration: --prefix=/usr --disable-debug --enable-shared
> --disable-static --enable-gpl --enable-x11grab --enable-postproc
> --enable-version3 --enable-nonfree --enable-libfaac --enable-libfreetype
> --enable-libmp3lame --enable-libopenjpeg --enable-libspeex
> --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libxvid
> --enable-libpulse --enable-openssl
> libavutil      51. 73.101 / 51. 73.101
> libavcodec     54. 59.100 / 54. 59.100
> libavformat    54. 29.104 / 54. 29.104
> libavdevice    54.  2.101 / 54.  2.101
> libavfilter     3. 17.100 /  3. 17.100
> libswscale      2.  1.101 /  2.  1.101
> libswresample   0. 15.100 /  0. 15.100
> libpostproc    52.  0.100 / 52.  0.100
>
> This is the current version in the book.
>
>     -- Bruce

Are you sure that you have used the correct patch? Current patch in the 
book contains this line at the very beginning:


--- k3b.orig/plugins/decoder/ffmpeg/k3bffmpegwrapper.cpp        2011-01-15 
21:47:29.000000000 +0100
+++ k3b/plugins/decoder/ffmpeg/k3bffmpegwrapper.cpp     2012-10-26 
11:53:54.396490345 +0200
@@ -88,7 +88,7 @@
      close();

      // open the file
-    int err = ::av_open_input_file( &d->formatContext, 
m_filename.toLocal8Bit(), 0, 0, 0 );
+    int err = ::avformat_open_input( &d->formatContext, 
m_filename.toLocal8Bit(), 0, NULL);


As you see, ::av_open_input_file is replaced with something else.

My ffmpeg version is 1.0.1.

-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to