diff options
author | Stefano Sabatini <stefano.sabatini-lala@poste.it> | 2011-05-29 17:57:40 +0200 |
---|---|---|
committer | Stefano Sabatini <stefano.sabatini-lala@poste.it> | 2011-05-30 09:07:43 +0200 |
commit | e1197b9e1746c03b1d13d816d1569aeaf1b71ecc (patch) | |
tree | 79cf0265bec586cfd7c155e03cc5879a6dda9f37 /libswscale/yuv2rgb.c | |
parent | 2c10ee23583d80a44f65a2199cef96eafaaceade (diff) | |
download | ffmpeg-e1197b9e1746c03b1d13d816d1569aeaf1b71ecc.tar.gz |
swscale: remove sws_format_name()
Use av_get_pix_fmt_name() instead.
Diffstat (limited to 'libswscale/yuv2rgb.c')
-rw-r--r-- | libswscale/yuv2rgb.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/libswscale/yuv2rgb.c b/libswscale/yuv2rgb.c index c9bd1b7337..36182a5ea9 100644 --- a/libswscale/yuv2rgb.c +++ b/libswscale/yuv2rgb.c @@ -34,6 +34,7 @@ #include "swscale_internal.h" #include "libavutil/cpu.h" #include "libavutil/bswap.h" +#include "libavutil/pixdesc.h" extern const uint8_t dither_4x4_16[4][8]; extern const uint8_t dither_8x8_32[8][8]; @@ -521,7 +522,8 @@ SwsFunc ff_yuv2rgb_get_func_ptr(SwsContext *c) if (t) return t; - av_log(c, AV_LOG_WARNING, "No accelerated colorspace conversion found from %s to %s.\n", sws_format_name(c->srcFormat), sws_format_name(c->dstFormat)); + av_log(c, AV_LOG_WARNING, "No accelerated colorspace conversion found from %s to %s.\n", + av_get_pix_fmt_name(c->srcFormat), av_get_pix_fmt_name(c->dstFormat)); switch (c->dstFormat) { case PIX_FMT_BGR48BE: |