diff options
Diffstat (limited to 'fftools/ffmpeg_mux.c')
-rw-r--r-- | fftools/ffmpeg_mux.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/fftools/ffmpeg_mux.c b/fftools/ffmpeg_mux.c index 4cb5a71659..4c56f4ba96 100644 --- a/fftools/ffmpeg_mux.c +++ b/fftools/ffmpeg_mux.c @@ -671,14 +671,6 @@ int of_muxer_init(OutputFile *of, AVFormatContext *fc, if (strcmp(of->format->name, "rtp")) want_sdp = 0; - if (of->sq_mux) { - mux->sq_pkt = av_packet_alloc(); - if (!mux->sq_pkt) { - ret = AVERROR(ENOMEM); - goto fail; - } - } - /* write the header for files with no streams */ if (of->format->flags & AVFMT_NOSTREAMS && fc->nb_streams == 0) { ret = mux_check_init(of); |