ffmpeg: Fix missing {} in Stream to Packet side data code

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
(cherry picked from commit 31f9c228c0)

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
Michael Niedermayer
2014-08-28 23:34:20 +02:00
parent 17a6ca7d31
commit d3bfb66a66

View File

@@ -3419,7 +3419,7 @@ static int process_input(int file_index)
} }
/* add the stream-global side data to the first packet */ /* add the stream-global side data to the first packet */
if (ist->nb_packets == 1) if (ist->nb_packets == 1) {
if (ist->st->nb_side_data) if (ist->st->nb_side_data)
av_packet_split_side_data(&pkt); av_packet_split_side_data(&pkt);
for (i = 0; i < ist->st->nb_side_data; i++) { for (i = 0; i < ist->st->nb_side_data; i++) {
@@ -3435,6 +3435,7 @@ static int process_input(int file_index)
memcpy(dst_data, src_sd->data, src_sd->size); memcpy(dst_data, src_sd->data, src_sd->size);
} }
}
if (pkt.dts != AV_NOPTS_VALUE) if (pkt.dts != AV_NOPTS_VALUE)
pkt.dts += av_rescale_q(ifile->ts_offset, AV_TIME_BASE_Q, ist->st->time_base); pkt.dts += av_rescale_q(ifile->ts_offset, AV_TIME_BASE_Q, ist->st->time_base);