diff options
Diffstat (limited to 'libavcodec/msrle.c')
-rw-r--r-- | libavcodec/msrle.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/msrle.c b/libavcodec/msrle.c index c938ed9358..06305bf276 100644 --- a/libavcodec/msrle.c +++ b/libavcodec/msrle.c @@ -56,10 +56,10 @@ static av_cold int msrle_decode_init(AVCodecContext *avctx) switch (avctx->bits_per_coded_sample) { case 4: case 8: - avctx->pix_fmt = PIX_FMT_PAL8; + avctx->pix_fmt = AV_PIX_FMT_PAL8; break; case 24: - avctx->pix_fmt = PIX_FMT_BGR24; + avctx->pix_fmt = AV_PIX_FMT_BGR24; break; default: av_log(avctx, AV_LOG_ERROR, "unsupported bits per sample\n"); |