diff options
author | Michael Niedermayer <michael@niedermayer.cc> | 2015-08-20 03:35:10 +0200 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2015-11-26 16:58:31 +0100 |
commit | 905853cd402e1c32e634ea6f7ddfcaf59972515d (patch) | |
tree | eb09f32776184383d6b025b4c71c4e85d320a007 | |
parent | e11f85a4a524f73e13222981ea55f6971e96c019 (diff) | |
download | ffmpeg-905853cd402e1c32e634ea6f7ddfcaf59972515d.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.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libavformat/mux.c b/libavformat/mux.c index 023832c336..a0165738f6 100644 --- a/libavformat/mux.c +++ b/libavformat/mux.c @@ -998,6 +998,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; } |