diff options
author | Luca Barbato <lu_zero@gentoo.org> | 2012-11-12 01:25:43 +0100 |
---|---|---|
committer | Luca Barbato <lu_zero@gentoo.org> | 2012-11-13 16:14:55 +0100 |
commit | c1a02e884ac785033baab356a5437adf057a4189 (patch) | |
tree | caa6e75ce56cbc0d15cae71eb38947ed730e46c9 /libavcodec/tiffenc.c | |
parent | 22a0827dff29a94e7fd07ad2782f169b2703c70d (diff) | |
download | ffmpeg-c1a02e884ac785033baab356a5437adf057a4189.tar.gz |
pixdesc: add av_pix_fmt_get_chroma_sub_sample
Deprecate avcodec_get_chroma_sub_sample.
Diffstat (limited to 'libavcodec/tiffenc.c')
-rw-r--r-- | libavcodec/tiffenc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/tiffenc.c b/libavcodec/tiffenc.c index 9811404313..8162c407d6 100644 --- a/libavcodec/tiffenc.c +++ b/libavcodec/tiffenc.c @@ -270,8 +270,8 @@ static int encode_frame(AVCodecContext * avctx, AVPacket *pkt, case AV_PIX_FMT_YUV410P: case AV_PIX_FMT_YUV411P: s->photometric_interpretation = 6; - avcodec_get_chroma_sub_sample(avctx->pix_fmt, - &shift_h, &shift_v); + av_pix_fmt_get_chroma_sub_sample(avctx->pix_fmt, + &shift_h, &shift_v); s->bpp = 8 + (16 >> (shift_h + shift_v)); s->subsampling[0] = 1 << shift_h; s->subsampling[1] = 1 << shift_v; |