[FFmpeg-devel] [PATCH 2/2] pngdec: expose gAMA and cHRM chunks as AVMasteringDisplayMetadata

wm4 nfxjfg at googlemail.com
Wed Sep 20 21:28:40 EEST 2017


On Wed, 20 Sep 2017 04:00:28 +0100
Rostislav Pehlivanov <atomnuker at gmail.com> wrote:

> +    if (mdm.has_gamma || mdm.has_primaries) {
> +        AVMasteringDisplayMetadata *new_mdm = av_mastering_display_metadata_create_side_data(p);
> +        memcpy(new_mdm, &mdm, sizeof(AVMasteringDisplayMetadata));
> +    }
> +

Use assignment? (Not sure if my previous reply to this was sent by my
retarded mail client, what a fucking POS.)


More information about the ffmpeg-devel mailing list