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:
-rw-r--r--libavformat/dashenc.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/libavformat/dashenc.c b/libavformat/dashenc.c
index dd2b34afbb..3f28f5ad71 100644
--- a/libavformat/dashenc.c
+++ b/libavformat/dashenc.c
@@ -2342,9 +2342,7 @@ static int dash_check_bitstream(AVFormatContext *s, AVStream *st,
if (oc->oformat->check_bitstream) {
AVStream *const ost = oc->streams[0];
int ret;
- AVPacket pkt = *avpkt;
- pkt.stream_index = 0;
- ret = oc->oformat->check_bitstream(oc, ost, &pkt);
+ ret = oc->oformat->check_bitstream(oc, ost, avpkt);
if (ret == 1) {
FFStream *const sti = ffstream(st);
FFStream *const osti = ffstream(ost);