diff --git a/libavcodec/h263dec.c b/libavcodec/h263dec.c index cc87bc7dee..405d3c68fd 100644 --- a/libavcodec/h263dec.c +++ b/libavcodec/h263dec.c @@ -64,7 +64,7 @@ av_cold int ff_h263_decode_init(AVCodecContext *avctx) if (avctx->codec->id == AV_CODEC_ID_MSS2) avctx->pix_fmt = AV_PIX_FMT_YUV420P; else - avctx->pix_fmt = ff_thread_get_format(avctx, avctx->codec->pix_fmts); + avctx->pix_fmt = avctx->get_format(avctx, avctx->codec->pix_fmts); s->unrestricted_mv= 1; /* select sub codec */