mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2024-12-13 18:55:08 +00:00
avformat/matroskadec: fix declaration after statement
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
3e73d14290
commit
e240d01c12
@ -3233,7 +3233,9 @@ static int64_t webm_dash_manifest_compute_bandwidth(AVFormatContext *s, int64_t
|
|||||||
MatroskaDemuxContext *matroska = s->priv_data;
|
MatroskaDemuxContext *matroska = s->priv_data;
|
||||||
AVStream *st = s->streams[0];
|
AVStream *st = s->streams[0];
|
||||||
double bandwidth = 0.0;
|
double bandwidth = 0.0;
|
||||||
for (int i = 0; i < st->nb_index_entries; i++) {
|
int i;
|
||||||
|
|
||||||
|
for (i = 0; i < st->nb_index_entries; i++) {
|
||||||
int64_t prebuffer_ns = 1000000000;
|
int64_t prebuffer_ns = 1000000000;
|
||||||
int64_t time_ns = st->index_entries[i].timestamp * matroska->time_scale;
|
int64_t time_ns = st->index_entries[i].timestamp * matroska->time_scale;
|
||||||
double nano_seconds_per_second = 1000000000.0;
|
double nano_seconds_per_second = 1000000000.0;
|
||||||
|
Loading…
Reference in New Issue
Block a user