Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorClément Bœsch <u@pkh.me>2022-02-19 02:06:40 +0300
committerClément Bœsch <u@pkh.me>2022-03-04 17:50:51 +0300
commit1a502b99e818ee7b8b2b56c4f5c27e31f674c555 (patch)
tree53a1b08b047a458445d1b9d150fb6be028f0fb53 /libavformat/mov.c
parentab77b878f1205225c6de1370fb0e998dbcc8bc69 (diff)
avformat/mov: reindent after previous commit
Diffstat (limited to 'libavformat/mov.c')
-rw-r--r--libavformat/mov.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/libavformat/mov.c b/libavformat/mov.c
index b29c1f5ea2..a842bf4464 100644
--- a/libavformat/mov.c
+++ b/libavformat/mov.c
@@ -8575,12 +8575,12 @@ static int mov_seek_stream(AVFormatContext *s, AVStream *st, int64_t timestamp,
return ret;
for (;;) {
- sample = av_index_search_timestamp(st, timestamp, flags);
- av_log(s, AV_LOG_TRACE, "stream %d, timestamp %"PRId64", sample %d\n", st->index, timestamp, sample);
- if (sample < 0 && sti->nb_index_entries && timestamp < sti->index_entries[0].timestamp)
- sample = 0;
- if (sample < 0) /* not sure what to do */
- return AVERROR_INVALIDDATA;
+ sample = av_index_search_timestamp(st, timestamp, flags);
+ av_log(s, AV_LOG_TRACE, "stream %d, timestamp %"PRId64", sample %d\n", st->index, timestamp, sample);
+ if (sample < 0 && sti->nb_index_entries && timestamp < sti->index_entries[0].timestamp)
+ sample = 0;
+ if (sample < 0) /* not sure what to do */
+ return AVERROR_INVALIDDATA;
if (!sample || can_seek_to_key_sample(st, sample, timestamp))
break;