OSDN Git Service
(root)
/
coroid
/
libav_saccubus.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5c470b9
)
fix negative fseek
author
Aurelien Jacobs
<aurel@gnuage.org>
Thu, 8 Nov 2007 20:50:45 +0000
(20:50 +0000)
committer
Aurelien Jacobs
<aurel@gnuage.org>
Thu, 8 Nov 2007 20:50:45 +0000
(20:50 +0000)
Originally committed as revision 10965 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavformat/mpeg.c
patch
|
blob
|
history
diff --git
a/libavformat/mpeg.c
b/libavformat/mpeg.c
index
3a009b6
..
34168ba
100644
(file)
--- a/
libavformat/mpeg.c
+++ b/
libavformat/mpeg.c
@@
-124,7
+124,7
@@
static int mpegps_read_header(AVFormatContext *s,
if ((p=memchr(buffer, 'S', sizeof(buffer))))
if (!memcmp(p, "Sofdec", 6))
m->sofdec = 1;
- url_fseek(&s->pb, -sizeof(buffer), SEEK_CUR);
+ url_fseek(&s->pb, -
(offset_t)
sizeof(buffer), SEEK_CUR);
/* no need to do more */
return 0;