[FFmpeg-devel] [PATCH] examples: Replace with proper error handling to avoid potential memory errors

Nicolas George george at nsup.org
Tue Aug 5 23:18:20 EEST 2025


Jiasheng Jiang (HE12025-08-05):
> Moreover, replace with proper error handling to avoid potential memory leak.

There is no potential memory leak with exit().

And it does not have to be a lesson in good C practices.

Regards,

-- 
  Nicolas George


More information about the ffmpeg-devel mailing list