[vlc-devel] AVCodec *first_avcodec

Måns Rullgård mans at mansr.com
Mon Aug 31 12:05:23 CEST 2009

ryfllove <ryfllove5318 at 163.com> writes:
> 在2009-08-31,"Kaarlo Räihä" <agent_007 at luukku.com> 写道:
>>ryfllove kirjoitti 31.08.2009 kello 10:11:
>>> In VLC source code: AVCodec *p; p = first_avcodec;
>>> I want to know where is the "first_avcodec" defined. Please help
>>> me.Thank you.
>> Are you sure that you talking about VLC source code? I couldn't found
>> any reference matching to first_avcodec from VLC source. It can be
>> find from FFmpeg/libavcodec sources.
> Yes,that's there.I am sorry to say in VLC.  But can you tell me how it
> is defined. I only found it was in use,but didn't know where it
> defined.

It's not declared in any public libavcodec headers because you're not
supposed to use that symbol.  You should be using av_codec_next().

Måns Rullgård
mans at mansr.com

More information about the vlc-devel mailing list