From c3f9ebf74371b63fba0e7491e61904bbd165cd0f Mon Sep 17 00:00:00 2001 From: Anton Khirnov Date: Tue, 29 Nov 2011 19:28:15 +0100 Subject: lavf: make av_set_pts_info private. It's supposed to be called only from (de)muxers. --- libavdevice/alsa-audio-dec.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'libavdevice/alsa-audio-dec.c') diff --git a/libavdevice/alsa-audio-dec.c b/libavdevice/alsa-audio-dec.c index 1346016254..5344b1988d 100644 --- a/libavdevice/alsa-audio-dec.c +++ b/libavdevice/alsa-audio-dec.c @@ -47,6 +47,7 @@ #include #include "libavformat/avformat.h" +#include "libavformat/internal.h" #include "libavutil/opt.h" #include "alsa-audio.h" @@ -102,7 +103,7 @@ static av_cold int audio_read_header(AVFormatContext *s1, st->codec->codec_id = codec_id; st->codec->sample_rate = s->sample_rate; st->codec->channels = s->channels; - av_set_pts_info(st, 64, 1, 1000000); /* 64 bits pts in us */ + avpriv_set_pts_info(st, 64, 1, 1000000); /* 64 bits pts in us */ return 0; -- cgit v1.2.3