Hi, On Sun, May 14, 2017 at 6:07 AM, Nicolas George <[email protected]> wrote:
> Le duodi 22 floréal, an CCXXV, Michael Niedermayer a écrit : > > The direct value like 32 feels more natural to me too, but iam fine > > with either. > > > > The avoidance of log() might also favor the other in some cases btw > > consider you have a 32 and need to call a fuction that needs a log2(32) > > So, shall I push? No, Mohammad's point that you don't check linesize is not answered. Whether or not the doxy says that it shall or shall not be bla bla doesn't really matter, we're introducing API here so the user doesn't have to worry about it, so we should possibly relax those constraints in the API and check/reallocate here also. With the current code or without the 1<<? In log2 units (so 4, 5 instead of 16, 32) is fine. _______________________________________________ ffmpeg-devel mailing list [email protected] http://ffmpeg.org/mailman/listinfo/ffmpeg-devel
