diff options
author | James Almer <jamrial@gmail.com> | 2021-06-05 11:09:03 -0300 |
---|---|---|
committer | James Almer <jamrial@gmail.com> | 2021-06-09 13:55:25 -0300 |
commit | c768233293a8ae43907d6dc3a7075a750dc12280 (patch) | |
tree | 0fead79710642ff7c621066f9c732d1e69bd8338 /libavformat/mp3dec.c | |
parent | e01bf559dfaeaadac8112af4ad4689901a344b92 (diff) |
avformat/utils: make ff_update_cur_dts() shared
libavdevice needs it.
Signed-off-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'libavformat/mp3dec.c')
-rw-r--r-- | libavformat/mp3dec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/mp3dec.c b/libavformat/mp3dec.c index b12cd31148..c6949e6095 100644 --- a/libavformat/mp3dec.c +++ b/libavformat/mp3dec.c @@ -589,7 +589,7 @@ static int mp3_seek(AVFormatContext *s, int stream_index, int64_t timestamp, ie1.timestamp = frame_duration * av_rescale(best_pos - s->internal->data_offset, mp3->frames, mp3->header_filesize); } - ff_update_cur_dts(s, st, ie->timestamp); + avpriv_update_cur_dts(s, st, ie->timestamp); return 0; } |