[FFmpeg-devel] [PATCH] Update HDR10+ metadata structure.

Carl Eugen Hoyos ceffmpeg at gmail.com
Mon Jan 27 21:43:11 EET 2020


Am Mo., 27. Jan. 2020 um 20:34 Uhr schrieb Mohammad Izadi <moh.izadi at gmail.com>:

>  /**
>   * Allocate an AVDynamicHDRPlus structure and set its fields to
>   * default values. The resulting struct can be freed using av_freep().
> + * @param gb The input bit stream.
> + * @param size The size of allocated memory for the returned
> + *        AVDynamicHDRPlus structure.
>   *
>   * @return An AVDynamicHDRPlus filled with default values or NULL
>   *         on failure.
>   */
> -AVDynamicHDRPlus *av_dynamic_hdr_plus_alloc(size_t *size);
> +AVDynamicHDRPlus *av_dynamic_hdr_plus(GetBitContext *gb, size_t *size);

This is a public function in an installed header: You cannot simply change
or remove it.

Carl Eugen


More information about the ffmpeg-devel mailing list