avformat/utils: make ff_update_cur_dts() shared

libavdevice needs it.

Signed-off-by: James Almer <jamrial@gmail.com>
This commit is contained in:
James Almer
2021-06-05 11:09:03 -03:00
parent e01bf559df
commit c768233293
11 changed files with 16 additions and 16 deletions

View File

@@ -477,7 +477,7 @@ static int read_seek(AVFormatContext *s, int stream_index,
return ret;
b->current_block = timestamp;
ff_update_cur_dts(s, st, timestamp * b->samples_per_block);
avpriv_update_cur_dts(s, st, timestamp * b->samples_per_block);
return 0;
}