Originally committed as revision 20023 to svn://svn.ffmpeg.org/ffmpeg/trunk
| ... | ... |
@@ -38,25 +38,6 @@ const uint8_t ff_log2_run[32]={
|
| 38 | 38 |
8, 9,10,11,12,13,14,15 |
| 39 | 39 |
}; |
| 40 | 40 |
|
| 41 |
-#if LIBAVCODEC_VERSION_MAJOR < 53 |
|
| 42 |
-/** |
|
| 43 |
- * Same as av_mallocz_static(), but does a realloc. |
|
| 44 |
- * |
|
| 45 |
- * @param[in] ptr The block of memory to reallocate. |
|
| 46 |
- * @param[in] size The requested size. |
|
| 47 |
- * @return Block of memory of requested size. |
|
| 48 |
- * @deprecated. Code which uses ff_realloc_static is broken/misdesigned |
|
| 49 |
- * and should correctly use static arrays |
|
| 50 |
- */ |
|
| 51 |
-attribute_deprecated av_alloc_size(2) |
|
| 52 |
-static void *ff_realloc_static(void *ptr, unsigned int size); |
|
| 53 |
- |
|
| 54 |
-static void *ff_realloc_static(void *ptr, unsigned int size) |
|
| 55 |
-{
|
|
| 56 |
- return av_realloc(ptr, size); |
|
| 57 |
-} |
|
| 58 |
-#endif |
|
| 59 |
- |
|
| 60 | 41 |
void align_put_bits(PutBitContext *s) |
| 61 | 42 |
{
|
| 62 | 43 |
#ifdef ALT_BITSTREAM_WRITER |