summaryrefslogtreecommitdiff
path: root/ffserver.c
diff options
context:
space:
mode:
Diffstat (limited to 'ffserver.c')
-rw-r--r--ffserver.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ffserver.c b/ffserver.c
index 27c998a1c2..4f80490675 100644
--- a/ffserver.c
+++ b/ffserver.c
@@ -1953,7 +1953,7 @@ static int open_input_stream(HTTPContext *c, const char *info)
#if 1
if (c->fmt_in->iformat->read_seek)
- c->fmt_in->iformat->read_seek(c->fmt_in, 0, stream_pos, 0);
+ av_seek_frame(c->fmt_in, -1, stream_pos, 0);
#endif
/* set the start time (needed for maxtime and RTP packet timing) */
c->start_time = cur_time;