ffmpeg/fftools
Andreas Rheinhardt c06d3d2404 fftools/ffmpeg_demux: Fix leak on error
An AVFormatContext leaks on errors that happen before it is attached
to its permanent place (an InputFile). Fix this by attaching
it earlier.

Given that it is not documented that avformat_close_input() is usable
with an AVFormatContext that has only been allocated with
avformat_alloc_context() and not opened with avformat_open_input(),
one error path before avformat_open_input() had to be treated
specially: It uses avformat_free_context().

Reviewed-by: Anton Khirnov <anton@khirnov.net>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
2023-10-10 14:30:07 +02:00
..
cmdutils.c fftools/ffmpeg: stop calling exit_program() 2023-07-20 20:47:46 +02:00
cmdutils.h fftools/ffmpeg: stop calling exit_program() 2023-07-20 20:47:46 +02:00
ffmpeg_dec.c fftools/ffmpeg_dec: disregard demuxer timestamps for NOTIMESTAMPS formats 2023-10-03 16:57:02 +02:00
ffmpeg_demux.c fftools/ffmpeg_demux: Fix leak on error 2023-10-10 14:30:07 +02:00
ffmpeg_enc.c fftools/ffmpeg_enc: constify the frame passed to enc_open() 2023-10-10 12:41:31 +02:00
ffmpeg_filter.c fftools/ffmpeg_filter: fail on filtering errors 2023-10-10 12:41:31 +02:00
ffmpeg_hw.c fftools/ffmpeg_hw: inline hwaccel_decode_init() into its caller 2023-06-19 09:48:55 +02:00
ffmpeg_mux_init.c fftools/ffmpeg_enc: merge -force_key_frames source/source_no_drop 2023-10-10 12:41:31 +02:00
ffmpeg_mux.c fftools/ffmpeg_mux: replace monotonous with monotonic 2023-09-01 03:36:24 -04:00
ffmpeg_mux.h fftools/ffmpeg_mux: stop rescaling timestamps in of_streamcopy() 2023-08-30 11:53:46 +02:00
ffmpeg_opt.c fftools/ffmpeg: deprecate the -top option 2023-09-18 17:16:06 +02:00
ffmpeg.c fftools/ffmpeg_enc: move fps conversion code to ffmpeg_filter 2023-10-10 12:41:31 +02:00
ffmpeg.h fftools/ffmpeg_enc: constify the frame passed to enc_open() 2023-10-10 12:41:31 +02:00
ffplay.c fftools/ffplay: stop injecting stream side data in packets 2023-10-06 10:11:19 -03:00
ffprobe.c fftools/ffprobe: stop using AVStream.side_data 2023-10-06 10:11:18 -03:00
fftools.manifest
fftoolsres.rc
fopen_utf8.h
Makefile fftools/ffmpeg: move opening decoders to a new file 2023-04-17 12:01:40 +02:00
objpool.c
objpool.h
opt_common.c fftools/opt_common: Don't add unnecessary " " 2023-08-02 18:15:34 +02:00
opt_common.h
sync_queue.c fftools/sync_queue: make sure non-limiting streams are not used as queue head 2023-05-28 10:47:59 +02:00
sync_queue.h fftools/sync_queue: add debug logging 2023-05-28 10:47:59 +02:00
thread_queue.c
thread_queue.h