summaryrefslogtreecommitdiffstats
path: root/ffserver.c
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2011-02-16 09:52:38 +0100
committerJanne Grunau <janne-ffmpeg@jannau.net>2011-02-17 15:35:18 +0100
commitab0287fcbdebc8ff416214535d7ee8424406990e (patch)
tree48491346ba91fc472e3dc9dbef4b72a94fbef068 /ffserver.c
parent979395bbbb9381b522b44c3448c24aef9c819ffc (diff)
downloadffmpeg-streaming-ab0287fcbdebc8ff416214535d7ee8424406990e.zip
ffmpeg-streaming-ab0287fcbdebc8ff416214535d7ee8424406990e.tar.gz
Move find_info_tag to lavu and add av_ prefix to it
Signed-off-by: Janne Grunau <janne-ffmpeg@jannau.net>
Diffstat (limited to 'ffserver.c')
-rw-r--r--ffserver.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/ffserver.c b/ffserver.c
index a2956d3..20ba890 100644
--- a/ffserver.c
+++ b/ffserver.c
@@ -2135,10 +2135,10 @@ static int open_input_stream(HTTPContext *c, const char *info)
strcpy(input_filename, c->stream->feed->feed_filename);
buf_size = FFM_PACKET_SIZE;
/* compute position (absolute time) */
- if (find_info_tag(buf, sizeof(buf), "date", info)) {
+ if (av_find_info_tag(buf, sizeof(buf), "date", info)) {
if ((ret = av_parse_time(&stream_pos, buf, 0)) < 0)
return ret;
- } else if (find_info_tag(buf, sizeof(buf), "buffer", info)) {
+ } else if (av_find_info_tag(buf, sizeof(buf), "buffer", info)) {
int prebuffer = strtol(buf, 0, 10);
stream_pos = av_gettime() - prebuffer * (int64_t)1000000;
} else
@@ -2147,7 +2147,7 @@ static int open_input_stream(HTTPContext *c, const char *info)
strcpy(input_filename, c->stream->feed_filename);
buf_size = 0;
/* compute position (relative time) */
- if (find_info_tag(buf, sizeof(buf), "date", info)) {
+ if (av_find_info_tag(buf, sizeof(buf), "date", info)) {
if ((ret = av_parse_time(&stream_pos, buf, 1)) < 0)
return ret;
} else
OpenPOWER on IntegriCloud