You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-10 06:10:52 +02:00
avformat/mov: reindent after previous commit
This commit is contained in:
@@ -8575,12 +8575,12 @@ static int mov_seek_stream(AVFormatContext *s, AVStream *st, int64_t timestamp,
|
|||||||
return ret;
|
return ret;
|
||||||
|
|
||||||
for (;;) {
|
for (;;) {
|
||||||
sample = av_index_search_timestamp(st, timestamp, flags);
|
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);
|
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)
|
if (sample < 0 && sti->nb_index_entries && timestamp < sti->index_entries[0].timestamp)
|
||||||
sample = 0;
|
sample = 0;
|
||||||
if (sample < 0) /* not sure what to do */
|
if (sample < 0) /* not sure what to do */
|
||||||
return AVERROR_INVALIDDATA;
|
return AVERROR_INVALIDDATA;
|
||||||
|
|
||||||
if (!sample || can_seek_to_key_sample(st, sample, timestamp))
|
if (!sample || can_seek_to_key_sample(st, sample, timestamp))
|
||||||
break;
|
break;
|
||||||
|
Reference in New Issue
Block a user