[Ffmpeg-devel] Codec always returns null...

Langley, Adam Adam.Langley
Wed Nov 9 00:18:12 CET 2005


Hi Guys,

I have the latest CVS snapshot of FFmpeg, and no matter what file I use (and
I'm using a xvid file that I know has previously decoded fine with ffmpeg!)

pCodec=avcodec_find_decoder(
pFormatCtx->streams[videoStream]->codec->codec_id ); //pCodecCtx->codec_id

always returns NULL as pCodec (the codec id in question is 12).

Any idea why? I have tested my compile by dumping the file frames using
ffmpeg.exe... 

Thanks

 - Adam Langley





More information about the ffmpeg-devel mailing list