aboutsummaryrefslogtreecommitdiffstats
path: root/libswscale/swscale.h
diff options
context:
space:
mode:
authorStefano Sabatini <stefano.sabatini-lala@poste.it>2011-06-02 19:00:47 +0200
committerStefano Sabatini <stefano.sabatini-lala@poste.it>2011-06-03 00:41:14 +0200
commitb932eb1be62b47b29969667f14a207e425e79a55 (patch)
treedbd4730418491bb53e98841177529ad4b0cdc8f6 /libswscale/swscale.h
parent6713989c231104ff4381ef58f25ec1af8603535b (diff)
downloadffmpeg-b932eb1be62b47b29969667f14a207e425e79a55.tar.gz
swscale: reintroduce sws_format_name() symbol
Reintroduce the internal symbol which was removed in: commit e1197b9e1746c03b1d13d816d1569aeaf1b71ecc Author: Stefano Sabatini <stefano.sabatini-lala@poste.it> Date: Sun May 29 17:57:40 2011 +0200 swscale: remove sws_format_name() Use av_get_pix_fmt_name() instead. The symbol is used by some external libs (hi libx264!), this gives time to them to use the recently added av_get_pix_fmt_name() rather than an internal symbol.
Diffstat (limited to 'libswscale/swscale.h')
-rw-r--r--libswscale/swscale.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/libswscale/swscale.h b/libswscale/swscale.h
index 7ac2fe27bb..e798773158 100644
--- a/libswscale/swscale.h
+++ b/libswscale/swscale.h
@@ -31,7 +31,7 @@
#define LIBSWSCALE_VERSION_MAJOR 0
#define LIBSWSCALE_VERSION_MINOR 14
-#define LIBSWSCALE_VERSION_MICRO 0
+#define LIBSWSCALE_VERSION_MICRO 1
#define LIBSWSCALE_VERSION_INT AV_VERSION_INT(LIBSWSCALE_VERSION_MAJOR, \
LIBSWSCALE_VERSION_MINOR, \
@@ -53,6 +53,9 @@
#ifndef FF_API_SWS_CPU_CAPS
#define FF_API_SWS_CPU_CAPS (LIBSWSCALE_VERSION_MAJOR < 2)
#endif
+#ifndef FF_API_SWS_FORMAT_NAME
+#define FF_API_SWS_FORMAT_NAME (LIBSWSCALE_VERSION_MAJOR < 2)
+#endif
/**
* Returns the LIBSWSCALE_VERSION_INT constant.