Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

not compiling against newer libavcodec? #2

Open
tkharris opened this issue Mar 9, 2012 · 1 comment
Open

not compiling against newer libavcodec? #2

tkharris opened this issue Mar 9, 2012 · 1 comment

Comments

@tkharris
Copy link

tkharris commented Mar 9, 2012

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_...

@tkharris
Copy link
Author

tkharris commented Mar 9, 2012

Oh yea, here's confirmation that CODEC_... have been deprecated in ffmpeg 0.7.1:

http://lists.alioth.debian.org/pipermail/forensics-devel/2011-August/003044.html

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant