Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2011-11-29 22:28:15 +0400
committerAnton Khirnov <anton@khirnov.net>2011-11-30 23:34:45 +0400
commitc3f9ebf74371b63fba0e7491e61904bbd165cd0f (patch)
treecad6d000dccf25ecea1db16f1befb17f79d13c33 /libavdevice/sndio_dec.c
parent06d7325ab1fcc009f0183be3a0b0504f6d99edfb (diff)
lavf: make av_set_pts_info private.
It's supposed to be called only from (de)muxers.
Diffstat (limited to 'libavdevice/sndio_dec.c')
-rw-r--r--libavdevice/sndio_dec.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libavdevice/sndio_dec.c b/libavdevice/sndio_dec.c
index ca11661f09..cc74c38a39 100644
--- a/libavdevice/sndio_dec.c
+++ b/libavdevice/sndio_dec.c
@@ -23,6 +23,7 @@
#include <sndio.h>
#include "libavformat/avformat.h"
+#include "libavformat/internal.h"
#include "libavutil/opt.h"
#include "sndio_common.h"
@@ -48,7 +49,7 @@ static av_cold int audio_read_header(AVFormatContext *s1,
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;
}