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.