summaryrefslogtreecommitdiff
path: root/libavformat/g729dec.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavformat/g729dec.c')
-rw-r--r--libavformat/g729dec.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libavformat/g729dec.c b/libavformat/g729dec.c
index 512c04ec10..82b1198c55 100644
--- a/libavformat/g729dec.c
+++ b/libavformat/g729dec.c
@@ -20,6 +20,7 @@
*/
#include "avformat.h"
+#include "internal.h"
#include "libavutil/log.h"
#include "libavutil/opt.h"
@@ -60,7 +61,7 @@ static int g729_read_header(AVFormatContext *s, AVFormatParameters *ap)
return AVERROR_INVALIDDATA;
}
- av_set_pts_info(st, st->codec->block_align << 3, 1, st->codec->sample_rate);
+ avpriv_set_pts_info(st, st->codec->block_align << 3, 1, st->codec->sample_rate);
return 0;
}
static int g729_read_packet(AVFormatContext *s, AVPacket *pkt)