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 d142f3bc18..cda9cad48d 100644
--- a/libavcodec/yop.c
+++ b/libavcodec/yop.c
@@ -89,7 +89,7 @@ static av_cold int yop_decode_init(AVCodecContext *avctx)
return -1;
}
- avctx->pix_fmt = PIX_FMT_PAL8;
+ avctx->pix_fmt = AV_PIX_FMT_PAL8;
s->num_pal_colors = avctx->extradata[0];
s->first_color[0] = avctx->extradata[1];