aboutsummaryrefslogtreecommitdiffstats
path: root/libavdevice/lavfi.c
diff options
context:
space:
mode:
authorClément Bœsch <ubitux@gmail.com>2011-12-03 00:45:46 +0100
committerClément Bœsch <ubitux@gmail.com>2011-12-03 03:24:32 +0100
commit215b7724e7ef332eab5aff8d1ab6b77a11f47c4f (patch)
tree3ffc80ccf075fd5972f6c2312a313c6bceea39bf /libavdevice/lavfi.c
parenteac5987c4f662ab272f6788b5edc233a9525f844 (diff)
downloadffmpeg-215b7724e7ef332eab5aff8d1ab6b77a11f47c4f.tar.gz
lavf: rename remaining av_set_pts_info() to avpriv_set_pts_info().
Diffstat (limited to 'libavdevice/lavfi.c')
-rw-r--r--libavdevice/lavfi.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libavdevice/lavfi.c b/libavdevice/lavfi.c
index cce09c5592..04dc3b233c 100644
--- a/libavdevice/lavfi.c
+++ b/libavdevice/lavfi.c
@@ -35,6 +35,7 @@
#include "libavfilter/avfilter.h"
#include "libavfilter/avfiltergraph.h"
#include "libavfilter/buffersink.h"
+#include "libavformat/internal.h"
#include "avdevice.h"
typedef struct {
@@ -231,7 +232,7 @@ av_cold static int lavfi_read_header(AVFormatContext *avctx,
AVFilterLink *link = lavfi->sinks[lavfi->stream_sink_map[i]]->inputs[0];
AVStream *st = avctx->streams[i];
st->codec->codec_type = link->type;
- av_set_pts_info(st, 64, link->time_base.num, link->time_base.den);
+ avpriv_set_pts_info(st, 64, link->time_base.num, link->time_base.den);
if (link->type == AVMEDIA_TYPE_VIDEO) {
st->codec->codec_id = CODEC_ID_RAWVIDEO;
st->codec->pix_fmt = link->format;