summaryrefslogtreecommitdiff
path: root/libavformat/mkvtimestamp_v2.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavformat/mkvtimestamp_v2.c')
-rw-r--r--libavformat/mkvtimestamp_v2.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libavformat/mkvtimestamp_v2.c b/libavformat/mkvtimestamp_v2.c
index ebb209ba64..f120460057 100644
--- a/libavformat/mkvtimestamp_v2.c
+++ b/libavformat/mkvtimestamp_v2.c
@@ -20,12 +20,13 @@
*/
#include "avformat.h"
+#include "internal.h"
static int write_header(AVFormatContext *s)
{
static const char *header = "# timecode format v2\n";
put_buffer(s->pb, header, strlen(header));
- av_set_pts_info(s->streams[0], 64, 1, 1000);
+ avpriv_set_pts_info(s->streams[0], 64, 1, 1000);
return 0;
}