summaryrefslogtreecommitdiff
path: root/libavcodec/pngenc.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavcodec/pngenc.c')
-rw-r--r--libavcodec/pngenc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/pngenc.c b/libavcodec/pngenc.c
index 6a5e0f8860..ddcd399bc9 100644
--- a/libavcodec/pngenc.c
+++ b/libavcodec/pngenc.c
@@ -649,7 +649,7 @@ FF_ENABLE_DEPRECATION_WARNINGS
s->dpm = s->dpi * 10000 / 254;
}
- s->is_progressive = !!(avctx->flags & CODEC_FLAG_INTERLACED_DCT);
+ s->is_progressive = !!(avctx->flags & AV_CODEC_FLAG_INTERLACED_DCT);
switch (avctx->pix_fmt) {
case AV_PIX_FMT_RGBA64BE:
s->bit_depth = 16;