aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Niedermayer <michael@niedermayer.cc>2015-08-20 03:35:10 +0200
committerMichael Niedermayer <michael@niedermayer.cc>2015-11-19 03:51:37 +0100
commitdea4fd94467b3fc8c94315aa377886c641eaff8b (patch)
tree7d87a497a3020481994f6269d71effdb2994a7cb
parent8e597b57d0b1e567cb7141fc456be200f2ee9d9c (diff)
downloadffmpeg-dea4fd94467b3fc8c94315aa377886c641eaff8b.tar.gz
avformat/mux: Update sidedata in ff_write_chained()
Fixes Ticket4777 Signed-off-by: Michael Niedermayer <michael@niedermayer.cc> (cherry picked from commit db91e0edb63afc682ae709f73e3732a4c832944d) Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
-rw-r--r--libavformat/mux.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libavformat/mux.c b/libavformat/mux.c
index 5dd0be8d23..1e86318939 100644
--- a/libavformat/mux.c
+++ b/libavformat/mux.c
@@ -1008,6 +1008,8 @@ int ff_write_chained(AVFormatContext *dst, int dst_stream, AVPacket *pkt,
if (interleave) ret = av_interleaved_write_frame(dst, &local_pkt);
else ret = av_write_frame(dst, &local_pkt);
pkt->buf = local_pkt.buf;
+ pkt->side_data = local_pkt.side_data;
+ pkt->side_data_elems = local_pkt.side_data_elems;
pkt->destruct = local_pkt.destruct;
return ret;
}