[Ffmpeg-devel] Including a new codec problem

Oded Shimon ods15
Tue Apr 24 16:27:22 CEST 2007

On Tue, Apr 24, 2007 at 03:48:27PM +0200, Eduardo Morras wrote:
> Hello:
>    I'm making a video codec in ffmpeg. Eveything compiled fine but last weekend i delete and rebuild all ffmpeg source tree from svn and add the codec to it. I follow the instructions on http://wiki.multimedia.cx/index.php?title=FFmpeg_codec_howto but can't compile the codec.
> a) add the codec id in avcodec.h ( CODEC_ID_GOG, )
> b) registered the decoder and encoder in allcodecs.c (REGISTER_ENCDEC(GOG, gog) 
> c) add in riff.c { CODEC_ID_GOG, MKTAG('G', 'O', 'G', ' ') },     last '' is 'space'

Declare the encoder and decoder in avcodec.h:2200 ...

- ods15

More information about the ffmpeg-devel mailing list