aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/aadec.c
diff options
context:
space:
mode:
authorJames Almer <jamrial@gmail.com>2021-06-05 11:09:03 -0300
committerJames Almer <jamrial@gmail.com>2021-06-09 13:55:25 -0300
commitc768233293a8ae43907d6dc3a7075a750dc12280 (patch)
tree0fead79710642ff7c621066f9c732d1e69bd8338 /libavformat/aadec.c
parente01bf559dfaeaadac8112af4ad4689901a344b92 (diff)
downloadffmpeg-c768233293a8ae43907d6dc3a7075a750dc12280.tar.gz
avformat/utils: make ff_update_cur_dts() shared
libavdevice needs it. Signed-off-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'libavformat/aadec.c')
-rw-r--r--libavformat/aadec.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavformat/aadec.c b/libavformat/aadec.c
index 9fe24d5d53..70df0439bd 100644
--- a/libavformat/aadec.c
+++ b/libavformat/aadec.c
@@ -238,7 +238,7 @@ static int aa_read_header(AVFormatContext *s)
st->duration = (largest_size - CHAPTER_HEADER_SIZE * s->nb_chapters) * TIMEPREC;
- ff_update_cur_dts(s, st, 0);
+ avpriv_update_cur_dts(s, st, 0);
avio_seek(pb, start, SEEK_SET);
c->current_chapter_size = 0;
c->seek_offset = 0;
@@ -365,7 +365,7 @@ static int aa_read_seek(AVFormatContext *s,
c->seek_offset = (MP3_FRAME_SIZE - chapter_pos % MP3_FRAME_SIZE) % MP3_FRAME_SIZE;
}
- ff_update_cur_dts(s, s->streams[0], ch->start + (chapter_pos + c->seek_offset) * TIMEPREC);
+ avpriv_update_cur_dts(s, s->streams[0], ch->start + (chapter_pos + c->seek_offset) * TIMEPREC);
return 1;
}