Mercurial > libavcodec.hg
comparison rawenc.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 | 55a1d93c534c |
children | 7dd2a45249a9 |
comparison
equal
deleted
inserted
replaced
11559:444f4b594fdb | 11560:8a4984c5cacc |
---|---|
55 return ret; | 55 return ret; |
56 } | 56 } |
57 | 57 |
58 AVCodec rawvideo_encoder = { | 58 AVCodec rawvideo_encoder = { |
59 "rawvideo", | 59 "rawvideo", |
60 CODEC_TYPE_VIDEO, | 60 AVMEDIA_TYPE_VIDEO, |
61 CODEC_ID_RAWVIDEO, | 61 CODEC_ID_RAWVIDEO, |
62 sizeof(AVFrame), | 62 sizeof(AVFrame), |
63 raw_init_encoder, | 63 raw_init_encoder, |
64 raw_encode, | 64 raw_encode, |
65 .long_name = NULL_IF_CONFIG_SMALL("raw video"), | 65 .long_name = NULL_IF_CONFIG_SMALL("raw video"), |