summaryrefslogtreecommitdiff
path: root/libavcodec/vmnc.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavcodec/vmnc.c')
-rw-r--r--libavcodec/vmnc.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libavcodec/vmnc.c b/libavcodec/vmnc.c
index be6c66c0bc..3153be6844 100644
--- a/libavcodec/vmnc.c
+++ b/libavcodec/vmnc.c
@@ -474,13 +474,13 @@ static av_cold int decode_init(AVCodecContext *avctx)
switch(c->bpp){
case 8:
- avctx->pix_fmt = PIX_FMT_PAL8;
+ avctx->pix_fmt = AV_PIX_FMT_PAL8;
break;
case 16:
- avctx->pix_fmt = PIX_FMT_RGB555;
+ avctx->pix_fmt = AV_PIX_FMT_RGB555;
break;
case 32:
- avctx->pix_fmt = PIX_FMT_RGB32;
+ avctx->pix_fmt = AV_PIX_FMT_RGB32;
break;
default:
av_log(avctx, AV_LOG_ERROR, "Unsupported bitdepth %i\n", c->bpp);