Re: [libav-devel] [PATCH 3/5] frame: allow align=0 (meaning automatic) for av_frame_get_buffer()

2017-02-08 Thread Anton Khirnov
Quoting Vittorio Giovara (2017-02-08 14:40:45) > On Wed, Feb 8, 2017 at 5:50 AM, Anton Khirnov wrote: > > This will avoid every caller from hardcoding some specific alignment, > > which may break in the future with new instruction sets. > > --- > > doc/APIchanges | 4

Re: [libav-devel] [PATCH 3/5] frame: allow align=0 (meaning automatic) for av_frame_get_buffer()

2017-02-08 Thread Vittorio Giovara
On Wed, Feb 8, 2017 at 5:50 AM, Anton Khirnov wrote: > This will avoid every caller from hardcoding some specific alignment, > which may break in the future with new instruction sets. > --- > doc/APIchanges | 4 > libavutil/frame.c | 4 > libavutil/frame.h |

Re: [libav-devel] [PATCH 3/5] frame: allow align=0 (meaning automatic) for av_frame_get_buffer()

2017-02-08 Thread wm4
On Wed, 08 Feb 2017 12:22:24 +0100 Anton Khirnov wrote: > Quoting wm4 (2017-02-08 12:08:18) > > On Wed, 8 Feb 2017 11:50:58 +0100 > > Anton Khirnov wrote: > > > > > This will avoid every caller from hardcoding some specific alignment, > > > which may

Re: [libav-devel] [PATCH 3/5] frame: allow align=0 (meaning automatic) for av_frame_get_buffer()

2017-02-08 Thread Anton Khirnov
Quoting wm4 (2017-02-08 12:08:18) > On Wed, 8 Feb 2017 11:50:58 +0100 > Anton Khirnov wrote: > > > This will avoid every caller from hardcoding some specific alignment, > > which may break in the future with new instruction sets. > > --- > > > * @param frame frame in which

Re: [libav-devel] [PATCH 3/5] frame: allow align=0 (meaning automatic) for av_frame_get_buffer()

2017-02-08 Thread wm4
On Wed, 8 Feb 2017 11:50:58 +0100 Anton Khirnov wrote: > This will avoid every caller from hardcoding some specific alignment, > which may break in the future with new instruction sets. > --- > * @param frame frame in which to store the new buffers. > - * @param align