diff options
author | James Almer <jamrial@gmail.com> | 2014-09-14 21:46:20 -0300 |
---|---|---|
committer | James Almer <jamrial@gmail.com> | 2014-10-05 17:10:29 -0300 |
commit | fb7d8d50bc242c739dad42e4f4a6b98bb3f1eee6 (patch) | |
tree | f8104d896da1d8b17e213e1b33efc692d8a3cd44 /libswscale/utils.c | |
parent | ddc376816161bdb24caa0a6698f8a18b41c6f70a (diff) | |
download | ffmpeg-fb7d8d50bc242c739dad42e4f4a6b98bb3f1eee6.tar.gz |
swscale: remove obsolete FF_API_SWS_FORMAT_NAME cruft
Signed-off-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'libswscale/utils.c')
-rw-r--r-- | libswscale/utils.c | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/libswscale/utils.c b/libswscale/utils.c index 56157001f0..dfdeb38479 100644 --- a/libswscale/utils.c +++ b/libswscale/utils.c @@ -240,17 +240,6 @@ int sws_isSupportedEndiannessConversion(enum AVPixelFormat pix_fmt) format_entries[pix_fmt].is_supported_endianness : 0; } -#if FF_API_SWS_FORMAT_NAME -const char *sws_format_name(enum AVPixelFormat format) -{ - const AVPixFmtDescriptor *desc = av_pix_fmt_desc_get(format); - if (desc) - return desc->name; - else - return "Unknown format"; -} -#endif - static double getSplineCoeff(double a, double b, double c, double d, double dist) { |