On Sun, 10 Aug 2014 12:37:46 +0200, Janne Grunau <[email protected]> wrote:
> On 2014-08-10 10:18:30 +0000, Anton Khirnov wrote:
> > They were only needed until the bump.
> > ---
> >  libavcodec/utils.c | 12 ------------
> >  1 file changed, 12 deletions(-)
> > 
> > diff --git a/libavcodec/utils.c b/libavcodec/utils.c
> > index b115da1..4253e8c 100644
> > --- a/libavcodec/utils.c
> > +++ b/libavcodec/utils.c
> > @@ -56,18 +56,6 @@ static int (*lockmgr_cb)(void **mutex, enum AVLockOp op);
> >  static void *codec_mutex;
> >  static void *avformat_mutex;
> >  
> > -#if FF_API_FAST_MALLOC && CONFIG_SHARED && HAVE_SYMVER
> > -FF_SYMVER(void*, av_fast_realloc, (void *ptr, unsigned int *size, size_t 
> > min_size), "LIBAVCODEC_55")
> > -{
> > -    return av_fast_realloc(ptr, size, min_size);
> > -}
> > -
> > -FF_SYMVER(void, av_fast_malloc, (void *ptr, unsigned int *size, size_t 
> > min_size), "LIBAVCODEC_55")
> > -{
> > -    av_fast_malloc(ptr, size, min_size);
> > -}
> > -#endif
> > -
> >  void av_fast_padded_malloc(void *ptr, unsigned int *size, size_t min_size)
> >  {
> >      void **p = ptr;
> 
> just checking, providing the declarations via the libavutil/mem.h 
> #include in avcodec.h is intended for libavcodec major 56?
> 

Yes. This bump was supposed to be API-compatible, so it should still build for
people who only #include avcodec.h and not mem.h.

-- 
Anton Khirnov
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to