Skip to content

not compiling against newer libavcodec? #2

Open

Description

@tkharris

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

Activity

  1. tkharris commented on Mar 9, 2012

    @tkharris
    Author

    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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions