Skip to content
Snippets Groups Projects
Commit 30c26c24 authored by Martin Storsjö's avatar Martin Storsjö
Browse files

lavf: Initialize the stream info timestamps in avformat_new_stream


These are normally initialized to AV_NOPTS_VALUE at the start
of avformat_find_stream_info, but if a new stream is found while
this function is running (e.g. like in mpegts), the newly added
AVStreams didn't have these values properly initalized, leading
to avformat_find_stream_info terminating too soon (when the
first timestamps are far from 0).

Signed-off-by: default avatarMartin Storsjö <martin@martin.st>
parent 6e9bbc65
No related branches found
No related tags found
No related merge requests found
Loading
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