[FFmpeg-devel] [PATCH v4] mpeg12enc: Use Closed Captions if available

Mathieu Duponchelle mathieu at centricular.com
Fri Feb 8 16:47:03 EET 2019

On 2/8/19 11:58 AM, Michael Niedermayer wrote:
> what if size is not a multiple of 3 ?

Good point, more bytes will be written than advertised. Do you reckon
the input should be straight up refused? The other solution is to warn then
iterate over side_data->size rounded down to the closest 3 multiple.

More information about the ffmpeg-devel mailing list