diff options
author | Clément Bœsch <ubitux@gmail.com> | 2011-12-03 00:45:46 +0100 |
---|---|---|
committer | Clément Bœsch <ubitux@gmail.com> | 2011-12-03 03:24:32 +0100 |
commit | 215b7724e7ef332eab5aff8d1ab6b77a11f47c4f (patch) | |
tree | 3ffc80ccf075fd5972f6c2312a313c6bceea39bf /libavdevice/lavfi.c | |
parent | eac5987c4f662ab272f6788b5edc233a9525f844 (diff) | |
download | ffmpeg-streaming-215b7724e7ef332eab5aff8d1ab6b77a11f47c4f.zip ffmpeg-streaming-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.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libavdevice/lavfi.c b/libavdevice/lavfi.c index cce09c5..04dc3b2 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; |