Originally committed as revision 26278 to svn://svn.ffmpeg.org/ffmpeg/trunk
Peter Ross authored on 2011/01/09 11:44:54... | ... |
@@ -458,16 +458,16 @@ static int parse_chunks(AVFormatContext *s, int mode, int64_t seekts, int *len_p |
458 | 458 |
} else if (!ff_guidcmp(g, timestamp_guid)) { |
459 | 459 |
int stream_index = ff_find_stream_index(s, sid); |
460 | 460 |
if (stream_index >= 0) { |
461 |
- url_fskip(pb, 8); |
|
462 |
- wtv->pts = get_le64(pb); |
|
463 |
- consumed += 16; |
|
464 |
- if (wtv->pts == -1) |
|
465 |
- wtv->pts = AV_NOPTS_VALUE; |
|
466 |
- if (mode == SEEK_TO_PTS && wtv->pts >= seekts) { |
|
461 |
+ url_fskip(pb, 8); |
|
462 |
+ wtv->pts = get_le64(pb); |
|
463 |
+ consumed += 16; |
|
464 |
+ if (wtv->pts == -1) |
|
465 |
+ wtv->pts = AV_NOPTS_VALUE; |
|
466 |
+ if (mode == SEEK_TO_PTS && wtv->pts >= seekts) { |
|
467 | 467 |
#define WTV_PAD8(x) (((x) + 7) & ~7) |
468 |
- url_fskip(pb, WTV_PAD8(len) - consumed); |
|
469 |
- return 0; |
|
470 |
- } |
|
468 |
+ url_fskip(pb, WTV_PAD8(len) - consumed); |
|
469 |
+ return 0; |
|
470 |
+ } |
|
471 | 471 |
} |
472 | 472 |
} else if (!ff_guidcmp(g, data_guid)) { |
473 | 473 |
int stream_index = ff_find_stream_index(s, sid); |