summaryrefslogtreecommitdiff
path: root/libavcodec/yuv4dec.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavcodec/yuv4dec.c')
-rw-r--r--libavcodec/yuv4dec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/yuv4dec.c b/libavcodec/yuv4dec.c
index 07696692eb..ce44f1330f 100644
--- a/libavcodec/yuv4dec.c
+++ b/libavcodec/yuv4dec.c
@@ -24,7 +24,7 @@
static av_cold int yuv4_decode_init(AVCodecContext *avctx)
{
- avctx->pix_fmt = PIX_FMT_YUV420P;
+ avctx->pix_fmt = AV_PIX_FMT_YUV420P;
avctx->coded_frame = avcodec_alloc_frame();