mirror of
https://mirror.skon.top/https://github.com/FFmpeg/FFmpeg
synced 2026-04-20 21:00:41 +08:00
avformat/utils: make ff_update_cur_dts() shared
libavdevice needs it. Signed-off-by: James Almer <jamrial@gmail.com>
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user