[FFmpeg-devel] [PATCH 1/3] lavu/frame: add av_frame_check_align().

Muhammad Faiz mfcc64 at gmail.com
Thu May 18 13:33:21 EEST 2017


On Thu, May 18, 2017 at 5:30 PM, Nicolas George <george at nsup.org> wrote:
> Le nonidi 29 floréal, an CCXXV, Muhammad Faiz a écrit :
>> I mean for rgb24 format, when alignment is 32, linesize should be
>> multiple of 96 (32 is not enough).
>
> I think you are wrong. I do not know any alignment requirement that is
> not a power of 2.

But that is what av_frame_get_buffer does (and maybe ff_get_buffer too).

Thank's.


More information about the ffmpeg-devel mailing list