diff bitstream.c @ 9218:18dffa8f2382 libavcodec

Remove deprecated functions and structures on next version bump.
author diego
date Sat, 21 Mar 2009 13:51:29 +0000
parents 0d5eed0f1b45
children 9fc81340a5a8
line wrap: on
line diff
--- a/bitstream.c	Sat Mar 21 10:25:20 2009 +0000
+++ b/bitstream.c	Sat Mar 21 13:51:29 2009 +0000
@@ -37,6 +37,7 @@
  8, 9,10,11,12,13,14,15
 };
 
+#if LIBAVCODEC_VERSION_MAJOR < 53
 /**
  * Same as av_mallocz_static(), but does a realloc.
  *
@@ -53,6 +54,7 @@
 {
     return av_realloc(ptr, size);
 }
+#endif
 
 void align_put_bits(PutBitContext *s)
 {