Author: spyfeng
Date: Tue Jun 16 16:47:18 2009
New Revision: 4452
Log:
remove bug code lines. this will cause reading wrong packet size
Modified:
seek_api/mpeg.c
Modified: seek_api/mpeg.c
==============================================================================
--- seek_api/mpeg.c Tue Jun 16 12:26:20 2009 (r4451)
+++ seek_api/mpeg.c Tue Jun 16 16:47:18 2009 (r4452)
@@ -672,7 +672,6 @@ static int mpegps_read_seek(struct AVFor
}
if (find_keyframe(s, stream_index, &pos, &pts, ts, flags) ==
0) {
- url_fseek(s->pb, pos, SEEK_SET);
goto success;
} else {
return -1;
@@ -696,7 +695,6 @@ static int mpegps_read_seek(struct AVFor
pts = ret_ts;
}
if (find_keyframe(s, stream_index, &pos, &pts, ts, flags) == 0) {
- url_fseek(s->pb, pos, SEEK_SET);
goto success;
} else {
return -1;
_______________________________________________
FFmpeg-soc mailing list
[email protected]
https://lists.mplayerhq.hu/mailman/listinfo/ffmpeg-soc