You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-11-23 21:54:53 +02:00
avformat/dashenc: Don't use stack packet
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
This commit is contained in:
@@ -2342,9 +2342,7 @@ static int dash_check_bitstream(AVFormatContext *s, AVStream *st,
|
|||||||
if (oc->oformat->check_bitstream) {
|
if (oc->oformat->check_bitstream) {
|
||||||
AVStream *const ost = oc->streams[0];
|
AVStream *const ost = oc->streams[0];
|
||||||
int ret;
|
int ret;
|
||||||
AVPacket pkt = *avpkt;
|
ret = oc->oformat->check_bitstream(oc, ost, avpkt);
|
||||||
pkt.stream_index = 0;
|
|
||||||
ret = oc->oformat->check_bitstream(oc, ost, &pkt);
|
|
||||||
if (ret == 1) {
|
if (ret == 1) {
|
||||||
FFStream *const sti = ffstream(st);
|
FFStream *const sti = ffstream(st);
|
||||||
FFStream *const osti = ffstream(ost);
|
FFStream *const osti = ffstream(ost);
|
||||||
|
|||||||
Reference in New Issue
Block a user