mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-02-04 06:08:26 +02:00
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>
This commit is contained in:
parent
8e597b57d0
commit
dea4fd9446
@ -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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user