Skip to content
Snippets Groups Projects
Commit 949d6dd5 authored by Derek Buitenhuis's avatar Derek Buitenhuis
Browse files
parents d97a6193 09f4822e
No related branches found
No related tags found
No related merge requests found
......@@ -979,7 +979,8 @@ skip:
// if not streamed and no duration from metadata then seek to end to find
// the duration from the timestamps
if (s->pb->seekable && (!s->duration || s->duration == AV_NOPTS_VALUE) && !flv->searched_for_end) {
if (s->pb->seekable && (!s->duration || s->duration == AV_NOPTS_VALUE) &&
!flv->searched_for_end) {
int size;
const int64_t pos = avio_tell(s->pb);
// Read the last 4 bytes of the file, this should be the size of the
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment