[FFmpeg-devel] Hardware CSC conversion segfault

Derek Buitenhuis derek.buitenhuis at gmail.com
Sat Jul 13 20:29:04 CEST 2013


On 7/13/2013 2:28 PM, Derek Buitenhuis wrote:
> On 7/13/2013 3:37 AM, Reimar Döffinger wrote:
>> None of these say that get_buffer is not allowed to return continuous memory (i.e. malloc each plane separately - which would be an idiotic requirement) so I have no idea what you are talking about.
> 
> The original email refers "contiguous memory buffer holding the different
> planes of YUV data or can they discontinuous", and I'm pretty certain he meant
> "with no padding", i.e. width == linesize, which is impossible on some resolutions,
> given get_buffer's alignment requirements.

I should note the key word here is contiguous, which a padded/aligned buffer
is not.

- Derek



More information about the ffmpeg-devel mailing list