Mercurial > libavcodec.hg
comparison libopenjpeg.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 | adf750125dc9 |
children | 7dd2a45249a9 |
comparison
equal
deleted
inserted
replaced
11559:444f4b594fdb | 11560:8a4984c5cacc |
---|---|
183 } | 183 } |
184 | 184 |
185 | 185 |
186 AVCodec libopenjpeg_decoder = { | 186 AVCodec libopenjpeg_decoder = { |
187 "libopenjpeg", | 187 "libopenjpeg", |
188 CODEC_TYPE_VIDEO, | 188 AVMEDIA_TYPE_VIDEO, |
189 CODEC_ID_JPEG2000, | 189 CODEC_ID_JPEG2000, |
190 sizeof(LibOpenJPEGContext), | 190 sizeof(LibOpenJPEGContext), |
191 libopenjpeg_decode_init, | 191 libopenjpeg_decode_init, |
192 NULL, | 192 NULL, |
193 libopenjpeg_decode_close, | 193 libopenjpeg_decode_close, |