hackerdude/ffmpeg-ruby — Issue #2: not compiling against newer libavcodec?
Author: tkharris
Created: 2012-03-09 21:50:05+00:00
State: open

It doesn't appear to be compiling against libavcodec v53. What version(s) does it compile against?

What I'm getting is

gcc -I. -I. -I/usr/lib/ruby/1.8/x86_64-linux -I. -DHAVE_LIBAVFORMAT_AVFORMAT_H -fPIC -fno-strict-aliasing -g -g -O2 -fPIC -c ffmpeg_avcodec.c
ffmpeg_avcodec.c: In function ‘codec_type_map’:
ffmpeg_avcodec.c:25:23: error: ‘CODEC_TYPE_VIDEO’ undeclared (first use in this function)
...

http://stackoverflow.com/questions/6465120/compiling-tutorial-programs-on-ffmpeg
seems to make me think that references to CODEC_... have changed to AVMEDIA_...