summaryrefslogtreecommitdiff
path: root/ffmpeg.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2014-08-28 23:34:20 +0200
committerMichael Niedermayer <michaelni@gmx.at>2014-08-28 23:34:20 +0200
commit31f9c228c042e7f0a017670e7eb18d9b27a71a10 (patch)
treef93eb17c95367be0da0d85be27c32b09e824e690 /ffmpeg.c
parentf30a8154abf2905b61b08974bc71f04e8d7afc68 (diff)
downloadffmpeg-31f9c228c042e7f0a017670e7eb18d9b27a71a10.tar.gz
ffmpeg: Fix missing {} in Stream to Packet side data code
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'ffmpeg.c')
-rw-r--r--ffmpeg.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/ffmpeg.c b/ffmpeg.c
index fa907b4c45..ff7961f356 100644
--- a/ffmpeg.c
+++ b/ffmpeg.c
@@ -3433,7 +3433,7 @@ static int process_input(int file_index)
}
/* 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)
av_packet_split_side_data(&pkt);
for (i = 0; i < ist->st->nb_side_data; i++) {
@@ -3449,6 +3449,7 @@ static int process_input(int file_index)
memcpy(dst_data, src_sd->data, src_sd->size);
}
+ }
if (pkt.dts != AV_NOPTS_VALUE)
pkt.dts += av_rescale_q(ifile->ts_offset, AV_TIME_BASE_Q, ist->st->time_base);