On Fri, Mar 01, 2013 at 08:50:31PM +0100, Anton Khirnov wrote:
> On Thu, 28 Feb 2013 21:25:01 +0100, Diego Biurrun <di...@biurrun.de> wrote:
> > --- a/libavcodec/internal.h
> > +++ b/libavcodec/internal.h
> > @@ -67,7 +68,7 @@ typedef struct AVCodecInternal {
> >       * Internal sample count used by avcodec_encode_audio() to fabricate 
> > pts.
> >       * Can be removed along with avcodec_encode_audio().
> >       */
> > -    int sample_count;
> > +    attribute_deprecated int sample_count;
> >  #endif
> 
> Internal API -> no point

Why?  Devs can still go ahead and misuse deprecated API w/o noticing.
The warnings are supposed to prevent that ...

Diego
_______________________________________________
libav-devel mailing list
libav-devel@libav.org
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to