mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-12-08 06:09:50 +00:00
fftools/ffmpeg: move initializing next_[pd]ts to add_input_streams()
They are initialized to constants, so it makes most sense to do it as soon as possible.
This commit is contained in:
parent
8e23a62eff
commit
87e9f5ad3c
2 changed files with 3 additions and 3 deletions
|
|
@ -2848,9 +2848,6 @@ static int init_input_stream(InputStream *ist, char *error, int error_len)
|
|||
assert_avoptions(ist->decoder_opts);
|
||||
}
|
||||
|
||||
ist->next_pts = AV_NOPTS_VALUE;
|
||||
ist->next_dts = AV_NOPTS_VALUE;
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue