diff options
author | Luca Barbato <lu_zero@gentoo.org> | 2012-11-12 04:25:43 +0400 |
---|---|---|
committer | Luca Barbato <lu_zero@gentoo.org> | 2012-11-13 19:14:55 +0400 |
commit | c1a02e884ac785033baab356a5437adf057a4189 (patch) | |
tree | caa6e75ce56cbc0d15cae71eb38947ed730e46c9 /libavcodec/ffv1enc.c | |
parent | 22a0827dff29a94e7fd07ad2782f169b2703c70d (diff) |
pixdesc: add av_pix_fmt_get_chroma_sub_sample
Deprecate avcodec_get_chroma_sub_sample.
Diffstat (limited to 'libavcodec/ffv1enc.c')
-rw-r--r-- | libavcodec/ffv1enc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/ffv1enc.c b/libavcodec/ffv1enc.c index efc1b11a85..8c6fc9a9c9 100644 --- a/libavcodec/ffv1enc.c +++ b/libavcodec/ffv1enc.c @@ -725,8 +725,8 @@ static av_cold int ffv1_encode_init(AVCodecContext *avctx) if (!s->transparency) s->plane_count = 2; - avcodec_get_chroma_sub_sample(avctx->pix_fmt, &s->chroma_h_shift, - &s->chroma_v_shift); + av_pix_fmt_get_chroma_sub_sample(avctx->pix_fmt, &s->chroma_h_shift, + &s->chroma_v_shift); s->picture_number = 0; |