diff options
author | wm4 <nfxjfg@googlemail.com> | 2015-02-06 14:53:40 +0100 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2015-02-10 21:45:04 +0100 |
commit | 9deaec782810d098bca11c9332fab2d2f4c5fb78 (patch) | |
tree | 09de732f0e2550abd520cb94d80e3882546548f2 /libavformat/pcm.c | |
parent | 1509c018bd5b054a2354e20021ccbac9c934d213 (diff) | |
download | ffmpeg-9deaec782810d098bca11c9332fab2d2f4c5fb78.tar.gz |
lavf: move internal fields from public to internal context
This is not an API change; the fields were explicitly declared private
before.
Signed-off-by: Anton Khirnov <anton@khirnov.net>
Diffstat (limited to 'libavformat/pcm.c')
-rw-r--r-- | libavformat/pcm.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libavformat/pcm.c b/libavformat/pcm.c index 892e8ca24e..e4f2a5e627 100644 --- a/libavformat/pcm.c +++ b/libavformat/pcm.c @@ -21,6 +21,7 @@ #include "libavutil/mathematics.h" #include "avformat.h" +#include "internal.h" #include "pcm.h" int ff_pcm_read_seek(AVFormatContext *s, @@ -50,7 +51,7 @@ int ff_pcm_read_seek(AVFormatContext *s, /* recompute exact position */ st->cur_dts = av_rescale(pos, st->time_base.den, byte_rate * (int64_t)st->time_base.num); - if ((ret = avio_seek(s->pb, pos + s->data_offset, SEEK_SET)) < 0) + if ((ret = avio_seek(s->pb, pos + s->internal->data_offset, SEEK_SET)) < 0) return ret; return 0; } |