You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-15 14:13:16 +02:00
ffmpeg: fix mixed merged & split side data with the stream->packet hack
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
2
ffmpeg.c
2
ffmpeg.c
@@ -3323,6 +3323,8 @@ static int process_input(int file_index)
|
||||
|
||||
/* add the stream-global side data to the first packet */
|
||||
if (ist->nb_packets == 1)
|
||||
if (ist->st->nb_side_data)
|
||||
av_packet_split_side_data(&pkt);
|
||||
for (i = 0; i < ist->st->nb_side_data; i++) {
|
||||
AVPacketSideData *src_sd = &ist->st->side_data[i];
|
||||
uint8_t *dst_data;
|
||||
|
Reference in New Issue
Block a user