summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Niedermayer <[email protected]>2015-08-20 03:35:10 +0200
committerMichael Niedermayer <[email protected]>2015-11-12 02:55:45 +0100
commit485372e91cc23978cf193cb141169ceb139b22fd (patch)
tree97f271058b00b3db18c244b4a97e702ad6bd6590
parentb87fc3526f27ad912a5ab22212febd68afe98e66 (diff)
avformat/mux: Update sidedata in ff_write_chained()
Fixes Ticket4777 Signed-off-by: Michael Niedermayer <[email protected]> (cherry picked from commit db91e0edb63afc682ae709f73e3732a4c832944d) Signed-off-by: Michael Niedermayer <[email protected]>
-rw-r--r--libavformat/mux.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libavformat/mux.c b/libavformat/mux.c
index f99dbd9c07..11b3d5094d 100644
--- a/libavformat/mux.c
+++ b/libavformat/mux.c
@@ -1043,6 +1043,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;
}