Commit db91e0ed authored by Michael Niedermayer's avatar Michael Niedermayer

avformat/mux: Update sidedata in ff_write_chained()

Fixes Ticket4777
Signed-off-by: 's avatarMichael Niedermayer <michael@niedermayer.cc>
parent bf5b2f9d
......@@ -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;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment