summaryrefslogtreecommitdiff
path: root/libavformat/mtv.c
diff options
context:
space:
mode:
authorwm4 <nfxjfg@googlemail.com>2015-02-06 14:53:40 +0100
committerAnton Khirnov <anton@khirnov.net>2015-02-10 21:45:04 +0100
commit9deaec782810d098bca11c9332fab2d2f4c5fb78 (patch)
tree09de732f0e2550abd520cb94d80e3882546548f2 /libavformat/mtv.c
parent1509c018bd5b054a2354e20021ccbac9c934d213 (diff)
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/mtv.c')
-rw-r--r--libavformat/mtv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/mtv.c b/libavformat/mtv.c
index 7ad7618434..aad30d7a41 100644
--- a/libavformat/mtv.c
+++ b/libavformat/mtv.c
@@ -166,7 +166,7 @@ static int mtv_read_packet(AVFormatContext *s, AVPacket *pkt)
AVIOContext *pb = s->pb;
int ret;
- if((avio_tell(pb) - s->data_offset + mtv->img_segment_size) % mtv->full_segment_size)
+ if((avio_tell(pb) - s->internal->data_offset + mtv->img_segment_size) % mtv->full_segment_size)
{
avio_skip(pb, MTV_AUDIO_PADDING_SIZE);