google-code-export / ffmpegthumbnailer

Automatically exported from code.google.com/p/ffmpegthumbnailer
GNU General Public License v2.0
1 stars 1 forks source link

moviedecoder.cpp:371: error: invalid conversion from 'int' to 'PixelFormat' #29

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. wget
http://ffmpegthumbnailer.googlecode.com/files/ffmpegthumbnailer-1.5.0.tar.gz &&
tar xzf ffmpegthumbnailer-1.5.0.tar.gz && cd ffmpegthumbnailer-1.5.0
2. ./configure
3. make

What is the expected output? What do you see instead?
libffmpegthumbnailer/moviedecoder.cpp: In member function 'bool
MovieDecoder::decodeVideoPacket()':
libffmpegthumbnailer/moviedecoder.cpp:249: warning: 'avcodec_decode_video'
is deprecated (declared at /usr/local/include/libavcodec/avcodec.h:3156)
libffmpegthumbnailer/moviedecoder.cpp:250: warning: 'avcodec_decode_video'
is deprecated (declared at /usr/local/include/libavcodec/avcodec.h:3156)
libffmpegthumbnailer/moviedecoder.cpp: In member function 'void
MovieDecoder::createAVFrame(AVFrame**, int, int, int)':
libffmpegthumbnailer/moviedecoder.cpp:371: error: invalid conversion from
'int' to 'PixelFormat'
libffmpegthumbnailer/moviedecoder.cpp:371: error:   initializing argument 1
of 'int avpicture_get_size(PixelFormat, int, int)'
make[1]: *** [moviedecoder.lo] Error 1
make[1]: Leaving directory
`/root/ffmpeg/ffmpeg-packages/ffmpegthumbnailer-1.5.0'
make: *** [all-recursive] Error 1

What version of the product are you using? On what operating system?
FFmpeg version SVN-r18693, Copyright (c) 2000-2009 Fabrice Bellard, et al.
  configuration: --enable-gpl --enable-postproc --enable-nonfree
--enable-postproc --enable-libfaad --enable-avfilter --enable-pthreads
--enable-libxvid --enable-libx264 --enable-libmp3lame --enable-libfaac
--disable-ffserver --disable-ffplay
  libavutil     50. 3. 0 / 50. 3. 0
  libavcodec    52.27. 0 / 52.27. 0
  libavformat   52.32. 0 / 52.32. 0
  libavdevice   52. 2. 0 / 52. 2. 0
  libavfilter    0. 5. 0 /  0. 5. 0
  libswscale     0. 7. 1 /  0. 7. 1
  libpostproc   51. 2. 0 / 51. 2. 0
  built on Apr 26 2009 02:34:12, gcc: 4.1.2 20080704 (Red Hat 4.1.2-44)

Original issue reported on code.google.com by oca...@gmail.com on 26 Apr 2009 at 1:31

GoogleCodeExporter commented 9 years ago
this error happens with ffmpegthumbnailer-1.4.0 and 1.3.0 also

Original comment by oca...@gmail.com on 26 Apr 2009 at 12:19

GoogleCodeExporter commented 9 years ago
Can you check if the version in subversion fails. I think this is fixed.

Regards,
Dirk

Original comment by dirk.vdb on 27 Apr 2009 at 8:05

GoogleCodeExporter commented 9 years ago
You are using FFMpeg from SVN or git ;)

Original comment by juergen....@gmail.com on 2 May 2009 at 7:09

Attachments:

GoogleCodeExporter commented 9 years ago

Original comment by dirk.vdb on 13 May 2009 at 8:29