2019-03-11 11:28 GMT+01:00, Jing SUN <jing.a....@intel.com>:

> +static void free_buffer(SvtContext *svt_enc)
> +{
> +    uint8_t *in_data = (EB_H265_ENC_INPUT *)svt_enc->in_buf.pBuffer;
> +
> +    av_freep(&in_data);
> +}

Is the cast necessary?
Does the variable make the code more readable?
Does the function make the code more readable?

No more comments here, sorry, Carl Eugen
_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel

Reply via email to