git.videolan.org
/
ffmpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fb2e95c
)
100l, to start reading from the first frame we must seek to data_offset,
author
Reimar Döffinger
<Reimar.Doeffinger@gmx.de>
Mon, 9 Mar 2009 12:06:31 +0000
(12:06 +0000)
committer
Reimar Döffinger
<Reimar.Doeffinger@gmx.de>
Mon, 9 Mar 2009 12:06:31 +0000
(12:06 +0000)
not 0 in av_seek_frame_generic.
Originally committed as revision 17905 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavformat/utils.c
patch
|
blob
|
history
diff --git
a/libavformat/utils.c
b/libavformat/utils.c
index
baf89c9
..
43de101
100644
(file)
--- a/
libavformat/utils.c
+++ b/
libavformat/utils.c
@@
-1515,7
+1515,7
@@
static int av_seek_frame_generic(AVFormatContext *s,
return ret;
av_update_cur_dts(s, st, ie->timestamp);
}else{
- if ((ret = url_fseek(s->pb,
0
, SEEK_SET)) < 0)
+ if ((ret = url_fseek(s->pb,
s->data_offset
, SEEK_SET)) < 0)
return ret;
}
for(i=0;; i++) {