Mercurial > libavcodec.hg
comparison libdiracenc.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 | 38cfe222e1a4 |
children | 7dd2a45249a9 |
comparison
equal
deleted
inserted
replaced
11559:444f4b594fdb | 11560:8a4984c5cacc |
---|---|
391 } | 391 } |
392 | 392 |
393 | 393 |
394 AVCodec libdirac_encoder = { | 394 AVCodec libdirac_encoder = { |
395 "libdirac", | 395 "libdirac", |
396 CODEC_TYPE_VIDEO, | 396 AVMEDIA_TYPE_VIDEO, |
397 CODEC_ID_DIRAC, | 397 CODEC_ID_DIRAC, |
398 sizeof(FfmpegDiracEncoderParams), | 398 sizeof(FfmpegDiracEncoderParams), |
399 libdirac_encode_init, | 399 libdirac_encode_init, |
400 libdirac_encode_frame, | 400 libdirac_encode_frame, |
401 libdirac_encode_close, | 401 libdirac_encode_close, |