diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2014-12-15 22:45:41 +0100 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2014-12-15 22:45:41 +0100 |
commit | 4f1923a91b8c2e0ec034f60083df983b6d19fe44 (patch) | |
tree | 85707abef051cfe24ab27f11c7aa94489ce08cb2 /libavcodec/tiffenc.c | |
parent | 4cffcbc809d24d29b5bc9e913402ea1faf2986a8 (diff) | |
download | ffmpeg-4f1923a91b8c2e0ec034f60083df983b6d19fe44.tar.gz |
avcodec/tiffenc: Consistently use ADD_ENTRY1()
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
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 5819d38d72..18b6b7daa4 100644 --- a/libavcodec/tiffenc.c +++ b/libavcodec/tiffenc.c @@ -486,13 +486,13 @@ static int encode_frame(AVCodecContext *avctx, AVPacket *pkt, ADD_ENTRY(s, TIFF_PAL, TIFF_SHORT, 256 * 3, pal); } if (alpha) - add_entry1(s,TIFF_EXTRASAMPLES, TIFF_SHORT, 2); + ADD_ENTRY1(s,TIFF_EXTRASAMPLES, TIFF_SHORT, 2); if (is_yuv) { /** according to CCIR Recommendation 601.1 */ uint32_t refbw[12] = { 15, 1, 235, 1, 128, 1, 240, 1, 128, 1, 240, 1 }; ADD_ENTRY(s, TIFF_YCBCR_SUBSAMPLING, TIFF_SHORT, 2, s->subsampling); if (avctx->chroma_sample_location == AVCHROMA_LOC_TOPLEFT) - add_entry1(s, TIFF_YCBCR_POSITIONING, TIFF_SHORT, 2); + ADD_ENTRY1(s, TIFF_YCBCR_POSITIONING, TIFF_SHORT, 2); ADD_ENTRY(s, TIFF_REFERENCE_BW, TIFF_RATIONAL, 6, refbw); } // write offset to dir |