diff options
Diffstat (limited to 'libavformat/g723_1.c')
-rw-r--r-- | libavformat/g723_1.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libavformat/g723_1.c b/libavformat/g723_1.c index 09fd6141fc..86ef540edf 100644 --- a/libavformat/g723_1.c +++ b/libavformat/g723_1.c @@ -25,6 +25,7 @@ */ #include "avformat.h" +#include "internal.h" static const uint8_t frame_size[4] = {24, 20, 4, 1}; @@ -41,7 +42,7 @@ static int g723_1_init(AVFormatContext *s, AVFormatParameters *ap) st->codec->channels = 1; st->codec->sample_rate = 8000; - av_set_pts_info(st, 64, 1, st->codec->sample_rate); + avpriv_set_pts_info(st, 64, 1, st->codec->sample_rate); return 0; } |