aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/mxfdec.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/mxfdec.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/mxfdec.c')
-rw-r--r--libavformat/mxfdec.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavformat/mxfdec.c b/libavformat/mxfdec.c
index 3bf480a3a6..e489e59e5d 100644
--- a/libavformat/mxfdec.c
+++ b/libavformat/mxfdec.c
@@ -3815,7 +3815,7 @@ static int mxf_read_seek(AVFormatContext *s, int stream_index, int64_t sample_ti
if (seekpos < 0)
return seekpos;
- ff_update_cur_dts(s, st, sample_time);
+ avpriv_update_cur_dts(s, st, sample_time);
mxf->current_klv_data = (KLVPacket){{0}};
} else {
MXFPartition *partition;
@@ -3868,7 +3868,7 @@ static int mxf_read_seek(AVFormatContext *s, int stream_index, int64_t sample_ti
if ((ret = mxf_edit_unit_absolute_offset(mxf, t, sample_time, source_track->edit_rate, &sample_time, &seekpos, &partition, 1)) < 0)
return ret;
- ff_update_cur_dts(s, st, sample_time);
+ avpriv_update_cur_dts(s, st, sample_time);
if (source_track->wrapping == ClipWrapped) {
KLVPacket klv = partition->first_essence_klv;
if (seekpos < klv.next_klv - klv.length || seekpos >= klv.next_klv) {