Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2022-03-22 19:59:30 +0300
committerAnton Khirnov <anton@khirnov.net>2022-08-08 17:20:58 +0300
commit61d9f34c70039f739bebf6870547edd9655002ec (patch)
treecfa304f0683f8ad8c18bde58d5c58b7a361e0269 /fftools/ffmpeg_opt.c
parentde9fb9fba7f6a7002ade2fe8c306a85fbf83e97d (diff)
fftools/ffmpeg_demux: do not store demux packet in the context
Its use is local to input_thread().
Diffstat (limited to 'fftools/ffmpeg_opt.c')
-rw-r--r--fftools/ffmpeg_opt.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/fftools/ffmpeg_opt.c b/fftools/ffmpeg_opt.c
index 25aa9aaff5..97f14b2a5b 100644
--- a/fftools/ffmpeg_opt.c
+++ b/fftools/ffmpeg_opt.c
@@ -1407,9 +1407,6 @@ static int open_input_file(OptionsContext *o, const char *filename)
f->rate_emu = 0;
}
- f->pkt = av_packet_alloc();
- if (!f->pkt)
- exit_program(1);
f->thread_queue_size = o->thread_queue_size;
/* check if all codec options have been used */