Mercurial > libavcodec.hg
comparison ptx.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 | 266bf83f634d |
children | 914f484bb476 |
comparison
equal
deleted
inserted
replaced
11559:444f4b594fdb | 11560:8a4984c5cacc |
---|---|
105 return 0; | 105 return 0; |
106 } | 106 } |
107 | 107 |
108 AVCodec ptx_decoder = { | 108 AVCodec ptx_decoder = { |
109 "ptx", | 109 "ptx", |
110 CODEC_TYPE_VIDEO, | 110 AVMEDIA_TYPE_VIDEO, |
111 CODEC_ID_PTX, | 111 CODEC_ID_PTX, |
112 sizeof(PTXContext), | 112 sizeof(PTXContext), |
113 ptx_init, | 113 ptx_init, |
114 NULL, | 114 NULL, |
115 ptx_end, | 115 ptx_end, |