Mercurial > libavcodec.hg
comparison libtheoraenc.c @ 11560:8a4984c5cacc libavcodec
Define AVMediaType enum, and use it instead of enum CodecType, which
is deprecated and will be dropped at the next major bump.
author | stefano |
---|---|
date | Tue, 30 Mar 2010 23:30:55 +0000 |
parents | d569841bd1b7 |
children | 92236ee7be0f |
comparison
equal
deleted
inserted
replaced
11559:444f4b594fdb | 11560:8a4984c5cacc |
---|---|
359 } | 359 } |
360 | 360 |
361 /*! AVCodec struct exposed to libavcodec */ | 361 /*! AVCodec struct exposed to libavcodec */ |
362 AVCodec libtheora_encoder = { | 362 AVCodec libtheora_encoder = { |
363 .name = "libtheora", | 363 .name = "libtheora", |
364 .type = CODEC_TYPE_VIDEO, | 364 .type = AVMEDIA_TYPE_VIDEO, |
365 .id = CODEC_ID_THEORA, | 365 .id = CODEC_ID_THEORA, |
366 .priv_data_size = sizeof(TheoraContext), | 366 .priv_data_size = sizeof(TheoraContext), |
367 .init = encode_init, | 367 .init = encode_init, |
368 .close = encode_close, | 368 .close = encode_close, |
369 .encode = encode_frame, | 369 .encode = encode_frame, |