diff options
author | Anton Khirnov <anton@khirnov.net> | 2011-02-16 09:52:38 +0100 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2011-02-18 19:52:33 +0100 |
commit | 1b98107c8d49005b84f5d656af85c1fccbd1f238 (patch) | |
tree | 6614cfd64aa8228f8197a984f3c4b9005291cb3e /libavformat/sdp.c | |
parent | 9c9912b995bed00ae2a4717b9d680e30f388117c (diff) | |
download | ffmpeg-streaming-1b98107c8d49005b84f5d656af85c1fccbd1f238.zip ffmpeg-streaming-1b98107c8d49005b84f5d656af85c1fccbd1f238.tar.gz |
Move find_info_tag to lavu and add av_ prefix to it
Signed-off-by: Janne Grunau <janne-ffmpeg@jannau.net>
(cherry picked from commit ab0287fcbdebc8ff416214535d7ee8424406990e)
Diffstat (limited to 'libavformat/sdp.c')
-rw-r--r-- | libavformat/sdp.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libavformat/sdp.c b/libavformat/sdp.c index 872e76c..2a88218 100644 --- a/libavformat/sdp.c +++ b/libavformat/sdp.c @@ -21,6 +21,7 @@ #include <string.h> #include "libavutil/avstring.h" #include "libavutil/base64.h" +#include "libavutil/parseutils.h" #include "libavcodec/xiph.h" #include "avformat.h" #include "internal.h" @@ -136,7 +137,7 @@ static int sdp_get_address(char *dest_addr, int size, int *ttl, const char *url) if (p) { char buff[64]; - if (find_info_tag(buff, sizeof(buff), "ttl", p)) { + if (av_find_info_tag(buff, sizeof(buff), "ttl", p)) { *ttl = strtol(buff, NULL, 10); } else { *ttl = 5; |