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

Nicolas George george at nsup.org
Thu May 18 13:20:33 EEST 2017


Le nonidi 29 floréal, an CCXXV, Muhammad Faiz a écrit :
> Missing linesize check.

No, check again.

> I tested the behaviour of av_frame_get_buffer(frame, 32) and check
> linesize[0], here the result of some different pixel formats:
> yuv420p: 32
> rgb24: 96
> rgba: 32
> 
> So linesize constraint acutually depends on pixel format.

No, check again.

Regards,

-- 
  Nicola George
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20170518/e9041f23/attachment.sig>


More information about the ffmpeg-devel mailing list