summaryrefslogtreecommitdiff
path: root/libavformat/r3d.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/r3d.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/r3d.c')
-rw-r--r--libavformat/r3d.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libavformat/r3d.c b/libavformat/r3d.c
index 1c80dcecf7..607cd3d9f5 100644
--- a/libavformat/r3d.c
+++ b/libavformat/r3d.c
@@ -183,8 +183,8 @@ static int r3d_read_header(AVFormatContext *s)
return -1;
}
- s->data_offset = avio_tell(s->pb);
- av_dlog(s, "data offset %#"PRIx64"\n", s->data_offset);
+ s->internal->data_offset = avio_tell(s->pb);
+ av_dlog(s, "data offset %#"PRIx64"\n", s->internal->data_offset);
if (!s->pb->seekable)
return 0;
// find REOB/REOF/REOS to load index
@@ -210,7 +210,7 @@ static int r3d_read_header(AVFormatContext *s)
}
out:
- avio_seek(s->pb, s->data_offset, SEEK_SET);
+ avio_seek(s->pb, s->internal->data_offset, SEEK_SET);
return 0;
}