aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/mtv.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2015-02-11 02:13:46 +0100
committerMichael Niedermayer <michaelni@gmx.at>2015-02-11 02:47:54 +0100
commit2924514721bc32b500d6573899aed05cf6bbae67 (patch)
tree84e8e77f392efe32c2fb03734fc6c29945180d40 /libavformat/mtv.c
parentb61170f51d2e4178b3e3e7f2961d4d191b7896e2 (diff)
parent9deaec782810d098bca11c9332fab2d2f4c5fb78 (diff)
downloadffmpeg-2924514721bc32b500d6573899aed05cf6bbae67.tar.gz
Merge commit '9deaec782810d098bca11c9332fab2d2f4c5fb78'
* commit '9deaec782810d098bca11c9332fab2d2f4c5fb78': lavf: move internal fields from public to internal context Conflicts: libavformat/avformat.h libavformat/internal.h libavformat/mux.c libavformat/utils.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
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 addad24440..a91e4c8649 100644
--- a/libavformat/mtv.c
+++ b/libavformat/mtv.c
@@ -200,7 +200,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);