aboutsummaryrefslogtreecommitdiffstats
path: root/libav/aviobuf.c
diff options
context:
space:
mode:
authorZdenek Kabelac <kabi@informatics.muni.cz>2002-04-08 20:58:56 +0000
committerZdenek Kabelac <kabi@informatics.muni.cz>2002-04-08 20:58:56 +0000
commit4606ac8dee9985bae07fcd0c0e04d6e2c63d6dc5 (patch)
tree77d66364faa3acdb066fdab3999e641cc75468bc /libav/aviobuf.c
parenta266644f560f5292eea477093fb9183099f3921b (diff)
downloadffmpeg-4606ac8dee9985bae07fcd0c0e04d6e2c63d6dc5.tar.gz
* some minor modification by Philip Gladston
* grab containes new code Originally committed as revision 388 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libav/aviobuf.c')
-rw-r--r--libav/aviobuf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libav/aviobuf.c b/libav/aviobuf.c
index 242848e3e0..888378df40 100644
--- a/libav/aviobuf.c
+++ b/libav/aviobuf.c
@@ -101,7 +101,7 @@ offset_t url_fseek(ByteIOContext *s, offset_t offset, int whence)
if (s->write_flag) {
if (whence == SEEK_CUR) {
- offset1 = s->pos + s->buf_ptr - s->buffer;
+ offset1 = s->pos + (s->buf_ptr - s->buffer);
if (offset == 0)
return offset1;
offset += offset1;