diff options
author | diego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2007-01-13 06:00:34 +0000 |
---|---|---|
committer | diego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2007-01-13 06:00:34 +0000 |
commit | 4b8743d0562b934c2502800dc5068655d65b171b (patch) | |
tree | a612cee18bb267e61e201d7f3e90a7ce64818865 /libmpdemux/demux_gif.c | |
parent | addb0472747b2cef16f720c92ec1ca940096072b (diff) | |
download | mpv-4b8743d0562b934c2502800dc5068655d65b171b.tar.bz2 mpv-4b8743d0562b934c2502800dc5068655d65b171b.tar.xz |
Frametime was being read from the wrong offset, compare
http://www.onicos.com/staff/iz/formats/gif.html#gceb
patch by John Koleszar, jkoleszar on2 com
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21893 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libmpdemux/demux_gif.c')
-rw-r--r-- | libmpdemux/demux_gif.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libmpdemux/demux_gif.c b/libmpdemux/demux_gif.c index ddd11f757b..b87585f278 100644 --- a/libmpdemux/demux_gif.c +++ b/libmpdemux/demux_gif.c @@ -68,7 +68,7 @@ static int demux_gif_fill_buffer(demuxer_t *demuxer, demux_stream_t *ds) if (code == 0xF9) { int frametime = 0; if (p[0] == 4) // is the length correct? - frametime = (p[1] << 8) | p[2]; // set the time, centiseconds + frametime = (p[3] << 8) | p[2]; // set the time, centiseconds current_pts += frametime; } else if ((code == 0xFE) && (verbose)) { // comment extension // print iff verbose |