[FFmpeg-devel] [PATCH]Do not redefine av_restrict

Hendrik Leppkes h.leppkes at gmail.com
Mon Apr 8 22:45:24 CEST 2013


On Mon, Apr 8, 2013 at 10:41 PM, Carl Eugen Hoyos <cehoyos at ag.or.at> wrote:

> Hendrik Leppkes <h.leppkes <at> gmail.com> writes:
>
> > Can we get rid of the re-definition of av_restrict,
> > basically just remove it from attributes.h?
> > See attached patch.
>
> Imo, we should try as hard as possible not to break
> API, including not on version bumps if it is possible
> and does not introduce any problems.
> This is  especially true in a case like this where a
> fix is trivial.
>
>
This is technically not even API, i see no reason any external software
used this, because it was just a dumb alias for plain "restrict" (the magic
comes from configure)
It was an error that it ever came to live in a public header, and such an
error should be corrected, and not riddle the code with another work-around.


More information about the ffmpeg-devel mailing list