summaryrefslogtreecommitdiff
path: root/libavcodec/yop.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavcodec/yop.c')
-rw-r--r--libavcodec/yop.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/yop.c b/libavcodec/yop.c
index 070ba76c62..3e27c1fe27 100644
--- a/libavcodec/yop.c
+++ b/libavcodec/yop.c
@@ -94,7 +94,7 @@ static av_cold int yop_decode_init(AVCodecContext *avctx)
return AVERROR_INVALIDDATA;
}
- avctx->pix_fmt = PIX_FMT_PAL8;
+ avctx->pix_fmt = AV_PIX_FMT_PAL8;
avcodec_get_frame_defaults(&s->frame);
s->num_pal_colors = avctx->extradata[0];