mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2026-06-19 19:03:00 +02:00
Define AVMediaType enum, and use it instead of enum CodecType, which
is deprecated and will be dropped at the next major bump. Originally committed as revision 22735 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
+1
-1
@@ -107,7 +107,7 @@ static av_cold int ptx_end(AVCodecContext *avctx) {
|
||||
|
||||
AVCodec ptx_decoder = {
|
||||
"ptx",
|
||||
CODEC_TYPE_VIDEO,
|
||||
AVMEDIA_TYPE_VIDEO,
|
||||
CODEC_ID_PTX,
|
||||
sizeof(PTXContext),
|
||||
ptx_init,
|
||||
|
||||
Reference in New Issue
Block a user