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 2782706e82..51a69f916d 100644
--- a/libavcodec/ptx.c
+++ b/libavcodec/ptx.c
@@ -119,7 +119,7 @@ static av_cold int ptx_end(AVCodecContext *avctx) {
AVCodec ff_ptx_decoder = {
.name = "ptx",
.type = AVMEDIA_TYPE_VIDEO,
- .id = CODEC_ID_PTX,
+ .id = AV_CODEC_ID_PTX,
.priv_data_size = sizeof(PTXContext),
.init = ptx_init,
.close = ptx_end,