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/oggdec.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/oggdec.c')
-rw-r--r-- | libavformat/oggdec.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libavformat/oggdec.c b/libavformat/oggdec.c index 8d6a57aa23..760cc25b8c 100644 --- a/libavformat/oggdec.c +++ b/libavformat/oggdec.c @@ -414,8 +414,8 @@ static int ogg_packet(AVFormatContext *s, int *str, int *dstart, int *dsize, // Update the header state for all streams and // compute the data_offset. - if (!s->data_offset) - s->data_offset = os->sync_pos; + if (!s->internal->data_offset) + s->internal->data_offset = os->sync_pos; for (i = 0; i < ogg->nstreams; i++) { struct ogg_stream *cur_os = ogg->streams + i; @@ -423,7 +423,7 @@ static int ogg_packet(AVFormatContext *s, int *str, int *dstart, int *dsize, // if we have a partial non-header packet, its start is // obviously at or after the data start if (cur_os->incomplete) - s->data_offset = FFMIN(s->data_offset, cur_os->sync_pos); + s->internal->data_offset = FFMIN(s->internal->data_offset, cur_os->sync_pos); } } else { os->nb_header++; |