Skip to content

picture: use the input picture metadata buffer references in dav1d_picture_alloc_copy()

James Almer requested to merge jamrial/dav1d:metadata into master

The references in the Dav1dContext may not necessarily apply to the picture being copied.

It's admittedly an extremely unlikely theoretical scenario and specific to the film_grain related call to this function, since the color metadata OBU types are unlikely to ever change within a sequence, but this is in any case the proper way to handle things.

Merge request reports