summaryrefslogtreecommitdiff
path: root/libavcodec/v210x.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavcodec/v210x.c')
-rw-r--r--libavcodec/v210x.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/v210x.c b/libavcodec/v210x.c
index 9fd4f7aed8..4aad304260 100644
--- a/libavcodec/v210x.c
+++ b/libavcodec/v210x.c
@@ -29,7 +29,7 @@ static av_cold int decode_init(AVCodecContext *avctx)
av_log(avctx, AV_LOG_ERROR, "v210x needs even width\n");
return -1;
}
- avctx->pix_fmt = PIX_FMT_YUV422P16;
+ avctx->pix_fmt = AV_PIX_FMT_YUV422P16;
avctx->bits_per_raw_sample= 10;
avctx->coded_frame= avcodec_alloc_frame();