]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/bitstream.c
mlpdec: Validate non-restart bit from the substream header.
[ffmpeg] / libavcodec / bitstream.c
index 6781fe6cb0cfe45dfd989ee6d2a1058b2d25eee6..5d9bd32707d8b6ebdbbd7863a63e95bba7186b57 100644 (file)
@@ -37,6 +37,7 @@ const uint8_t ff_log2_run[32]={
  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 @@ static void *ff_realloc_static(void *ptr, unsigned int size)
 {
     return av_realloc(ptr, size);
 }
+#endif
 
 void align_put_bits(PutBitContext *s)
 {