[FFmpeg-devel] [PATCH v3 2/2] avformat: add data_size for ff_hex_to_data()
Nicolas George
george at nsup.org
Tue May 11 09:24:31 EEST 2021
lance.lmwang at gmail.com (12021-05-11):
> Maybe I think it's better to alloc in ff_hex_to_data function and return the
> buffer directly.
Then certainly you are wrong. You should never suggest to use a dynamic
allocation when the code can be written with automatic allocation.
Please remember that in the future. FFmpeg is a C project that aims to
be efficient, not Python or Java.
Regards,
--
Nicolas George
More information about the ffmpeg-devel
mailing list