summaryrefslogtreecommitdiff
path: root/libavcodec/ptx.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavcodec/ptx.c')
-rw-r--r--libavcodec/ptx.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/ptx.c b/libavcodec/ptx.c
index f5aa601cde..d8798f2e9c 100644
--- a/libavcodec/ptx.c
+++ b/libavcodec/ptx.c
@@ -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,