Mercurial > libavcodec.hg
comparison utils.c @ 7241:239031d20617 libavcodec
Deprecate avcodec_build(), it returns the same value as
avcodec_version().
| author | andoma |
|---|---|
| date | Fri, 11 Jul 2008 15:25:12 +0000 |
| parents | 05c4de3904f6 |
| children | 643c85503f1f |
comparison
equal
deleted
inserted
replaced
| 7240:2552555c8a92 | 7241:239031d20617 |
|---|---|
| 1198 unsigned avcodec_version( void ) | 1198 unsigned avcodec_version( void ) |
| 1199 { | 1199 { |
| 1200 return LIBAVCODEC_VERSION_INT; | 1200 return LIBAVCODEC_VERSION_INT; |
| 1201 } | 1201 } |
| 1202 | 1202 |
| 1203 #if LIBAVCODEC_VERSION_INT < ((52<<16)+(0<<8)+0) | |
| 1203 unsigned avcodec_build( void ) | 1204 unsigned avcodec_build( void ) |
| 1204 { | 1205 { |
| 1205 return LIBAVCODEC_BUILD; | 1206 return LIBAVCODEC_BUILD; |
| 1206 } | 1207 } |
| 1208 #endif | |
| 1207 | 1209 |
| 1208 void avcodec_init(void) | 1210 void avcodec_init(void) |
| 1209 { | 1211 { |
| 1210 static int initialized = 0; | 1212 static int initialized = 0; |
| 1211 | 1213 |
