Originally committed as revision 29932 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
Diego Biurrun authored on 2009/11/19 02:16:02... | ... |
@@ -84,6 +84,17 @@ unsigned swscale_version(void) |
84 | 84 |
return LIBSWSCALE_VERSION_INT; |
85 | 85 |
} |
86 | 86 |
|
87 |
+const char * swscale_configuration(void) |
|
88 |
+{ |
|
89 |
+ return FFMPEG_CONFIGURATION; |
|
90 |
+} |
|
91 |
+ |
|
92 |
+const char * swscale_license(void) |
|
93 |
+{ |
|
94 |
+#define LICENSE_PREFIX "libswscale license: " |
|
95 |
+ return LICENSE_PREFIX FFMPEG_LICENSE + sizeof(LICENSE_PREFIX) - 1; |
|
96 |
+} |
|
97 |
+ |
|
87 | 98 |
#undef MOVNTQ |
88 | 99 |
#undef PAVGB |
89 | 100 |
|
... | ... |
@@ -48,6 +48,16 @@ |
48 | 48 |
*/ |
49 | 49 |
unsigned swscale_version(void); |
50 | 50 |
|
51 |
+/** |
|
52 |
+ * Returns the libswscale build-time configuration. |
|
53 |
+ */ |
|
54 |
+const char * swscale_configuration(void); |
|
55 |
+ |
|
56 |
+/** |
|
57 |
+ * Returns the libswscale license. |
|
58 |
+ */ |
|
59 |
+const char * swscale_license(void); |
|
60 |
+ |
|
51 | 61 |
/* values for the flags, the stuff on the command line is different */ |
52 | 62 |
#define SWS_FAST_BILINEAR 1 |
53 | 63 |
#define SWS_BILINEAR 2 |