[FFmpeg-devel] [PATCH/RFC] Per-codec option system
Michael Niedermayer
michaelni
Wed Sep 30 12:14:34 CEST 2009
On Wed, Sep 30, 2009 at 12:03:56PM +0200, Michael Niedermayer wrote:
[...]
little bug:
> void avcodec_get_context_defaults2(AVCodecContext *s, enum CodecId codec_id){
> ...
> AVCodec codec= find_codec(codec_id);
void avcodec_get_context_defaults2(AVCodecContext *s, int encoding, const char *codec_name){
AVCodec codec;
if(encoding) codec= avcodec_find_encoder_by_name(codec_name);
else codec= avcodec_find_decoder_by_name(codec_name);
[...]
--
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
I do not agree with what you have to say, but I'll defend to the death your
right to say it. -- Voltaire
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20090930/169b4308/attachment.pgp>
More information about the ffmpeg-devel
mailing list