diff options
author | Diego Biurrun <diego@biurrun.de> | 2014-08-02 08:47:46 -0700 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2014-08-02 12:54:37 -0700 |
commit | df507d5aa063c2ce31fac9f76c6f3bbe9a20c445 (patch) | |
tree | 639dae65623fe5bd070c238e4e79bfe2da472a93 /libavcodec/tiff.c | |
parent | 7835c24e19d9e1cb43fba5a02ce9d81d518f1300 (diff) | |
download | ffmpeg-df507d5aa063c2ce31fac9f76c6f3bbe9a20c445.tar.gz |
tiff: Replace deprecated PIX_FMT names by modern ones
Diffstat (limited to 'libavcodec/tiff.c')
-rw-r--r-- | libavcodec/tiff.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/tiff.c b/libavcodec/tiff.c index 6c72dc8293..6afc2cbc96 100644 --- a/libavcodec/tiff.c +++ b/libavcodec/tiff.c @@ -635,13 +635,13 @@ static int decode_frame(AVCodecContext *avctx, dst = p->data[0]; soff = s->bpp >> 3; ssize = s->width * soff; - if (s->avctx->pix_fmt == PIX_FMT_RGB48LE) { + if (s->avctx->pix_fmt == AV_PIX_FMT_RGB48LE) { for (i = 0; i < s->height; i++) { for (j = soff; j < ssize; j += 2) AV_WL16(dst + j, AV_RL16(dst + j) + AV_RL16(dst + j - soff)); dst += stride; } - } else if (s->avctx->pix_fmt == PIX_FMT_RGB48BE) { + } else if (s->avctx->pix_fmt == AV_PIX_FMT_RGB48BE) { for (i = 0; i < s->height; i++) { for (j = soff; j < ssize; j += 2) AV_WB16(dst + j, AV_RB16(dst + j) + AV_RB16(dst + j - soff)); |