summaryrefslogtreecommitdiff
path: root/libavcodec/pngdec.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavcodec/pngdec.c')
-rw-r--r--libavcodec/pngdec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/pngdec.c b/libavcodec/pngdec.c
index 5bfe07ba5d..67225bb7af 100644
--- a/libavcodec/pngdec.c
+++ b/libavcodec/pngdec.c
@@ -741,7 +741,7 @@ static av_cold int png_dec_end(AVCodecContext *avctx)
AVCodec ff_png_decoder = {
.name = "png",
.type = AVMEDIA_TYPE_VIDEO,
- .id = CODEC_ID_PNG,
+ .id = AV_CODEC_ID_PNG,
.priv_data_size = sizeof(PNGDecContext),
.init = png_dec_init,
.close = png_dec_end,