FFmpeg/fftools
Andreas Rheinhardt 4b583e5425 fftools/ffmpeg: Fix crash when flushing non-fully setup output stream
The output stream's packet may not have been allocated
at that point. This happens when quitting in the following command line:
$ ./ffmpeg -lavfi abuffer=sample_fmt=u8:sample_rate=48000:channel_layout=stereo -f null -

Reviewed-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
(cherry picked from commit fb215798c7)
2021-10-08 11:31:37 -03:00
..
cmdutils.c
cmdutils.h
ffmpeg.c fftools/ffmpeg: Fix crash when flushing non-fully setup output stream 2021-10-08 11:31:37 -03:00
ffmpeg.h
ffmpeg_filter.c
ffmpeg_hw.c
ffmpeg_opt.c
ffmpeg_qsv.c
ffmpeg_videotoolbox.c
ffplay.c
ffprobe.c
Makefile