summaryrefslogtreecommitdiff
path: root/libavformat/segment.c
diff options
context:
space:
mode:
authorRodger Combs <rodger.combs@gmail.com>2016-04-20 01:15:35 -0500
committerRodger Combs <rodger.combs@gmail.com>2016-06-25 15:50:04 -0500
commitaf7e2734b9c1cd5b09208e343154ffc89a64d2c4 (patch)
tree40fa0119a4764f4ed7f2e3e1a4f6eef27735922d /libavformat/segment.c
parent150e5e13b1fae125fd7ec2d91fa56b5be958668e (diff)
lavf: update auto-bsf to new BSF API
Diffstat (limited to 'libavformat/segment.c')
-rw-r--r--libavformat/segment.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/libavformat/segment.c b/libavformat/segment.c
index df6f4b5c73..4c6c6d448f 100644
--- a/libavformat/segment.c
+++ b/libavformat/segment.c
@@ -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;
}