]> git.sesse.net Git - ffmpeg/blobdiff - libavformat/avisynth.c
Merge remote-tracking branch 'shariman/wmall'
[ffmpeg] / libavformat / avisynth.c
index 3e7dd4692472260bb612e1081da7b9bad32f6880..17ff5a88a3c44ae281c21392b1d32ef00a33e410 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * AVISynth support for ffmpeg system
+ * AVISynth support
  * Copyright (c) 2006 DivX, Inc.
  *
  * This file is part of FFmpeg.
@@ -20,6 +20,7 @@
  */
 
 #include "avformat.h"
+#include "internal.h"
 #include "riff.h"
 
 #include <windows.h>
@@ -145,7 +146,7 @@ static int avisynth_read_header(AVFormatContext *s, AVFormatParameters *ap)
 
               st->codec->stream_codec_tag = stream->info.fccHandler;
 
-              av_set_pts_info(st, 64, info.dwScale, info.dwRate);
+              avpriv_set_pts_info(st, 64, info.dwScale, info.dwRate);
               st->start_time = stream->info.dwStart;
             }
         }