> +    bytestream_put_buffer(&buf, "qoif", 4);
> +    bytestream_put_be32(&buf, avctx->width);
> +    bytestream_put_be32(&buf, avctx->height);
> +    bytestream_put_byte(&buf, channels);
> +    bytestream_put_byte(&buf, 0);

bytestream_put_byte(&buf, avctx->color_trc == AVCOL_TRC_LINEAR);

Looks good otherwise

/Tomas

_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel

To unsubscribe, visit link above, or email
ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".

Reply via email to