ffmpeg-libav-tutorial
ffmpeg-libav-tutorial copied to clipboard
avformat_close_input() vs avformat_free_context()
to free the context format resource, avformat_close_input() is used. But the doc says explicitely to use avformat_free_context() for this task. so why is avformat_close_input() used ?