mirror of
https://github.com/librempeg/librempeg
synced 2024-11-23 11:39:47 +00:00
avformat/dashenc: Don't use stack packet
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
This commit is contained in:
parent
a5ee166327
commit
5e01fc8318
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user