mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-06-03 10:27:45 +00:00
lavf: update auto-bsf to new BSF API
This commit is contained in:
parent
150e5e13b1
commit
af7e2734b9
4 changed files with 91 additions and 24 deletions
|
@ -966,8 +966,10 @@ static int seg_check_bitstream(struct AVFormatContext *s, const AVPacket *pkt)
|
|||
if (ret == 1) {
|
||||
AVStream *st = s->streams[pkt->stream_index];
|
||||
AVStream *ost = oc->streams[pkt->stream_index];
|
||||
st->internal->bsfc = ost->internal->bsfc;
|
||||
ost->internal->bsfc = NULL;
|
||||
st->internal->bsfcs = ost->internal->bsfcs;
|
||||
st->internal->nb_bsfcs = ost->internal->nb_bsfcs;
|
||||
ost->internal->bsfcs = NULL;
|
||||
ost->internal->nb_bsfcs = 0;
|
||||
}
|
||||
return ret;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue