aboutsummaryrefslogtreecommitdiff
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 6b8dbd329d..b49b9065de 100644
--- a/libavcodec/ptx.c
+++ b/libavcodec/ptx.c
@@ -113,7 +113,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,