]> git.sesse.net Git - ffmpeg/blobdiff - libavformat/g723_1.c
Merge remote-tracking branch 'qatar/master'
[ffmpeg] / libavformat / g723_1.c
index 09fd6141fc9455579e230448d357186a784319e7..86ef540edf604b5efb66e532211353cfd5fdc364 100644 (file)
@@ -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;
 }