Commit bbfc410c authored by reimar's avatar reimar

100l, to start reading from the first frame we must seek to data_offset,

not 0 in av_seek_frame_generic.


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@17905 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 701ff136
......@@ -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++) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment