Mercurial > libavformat.hg
comparison utils.c @ 5370:238bda5af58e libavformat
Add functions to return library license and library configuration.
author | diego |
---|---|
date | Wed, 18 Nov 2009 17:15:17 +0000 |
parents | 4696e193f943 |
children | aec4d71f32e4 |
comparison
equal
deleted
inserted
replaced
5369:347123a18feb | 5370:238bda5af58e |
---|---|
39 unsigned avformat_version(void) | 39 unsigned avformat_version(void) |
40 { | 40 { |
41 return LIBAVFORMAT_VERSION_INT; | 41 return LIBAVFORMAT_VERSION_INT; |
42 } | 42 } |
43 | 43 |
44 const char * avformat_configuration(void) | |
45 { | |
46 return FFMPEG_CONFIGURATION; | |
47 } | |
48 | |
49 const char * avformat_license(void) | |
50 { | |
51 #define LICENSE_PREFIX "libavformat license: " | |
52 return LICENSE_PREFIX FFMPEG_LICENSE + sizeof(LICENSE_PREFIX) - 1; | |
53 } | |
54 | |
44 /* fraction handling */ | 55 /* fraction handling */ |
45 | 56 |
46 /** | 57 /** |
47 * f = val + (num / den) + 0.5. | 58 * f = val + (num / den) + 0.5. |
48 * | 59 * |