summaryrefslogtreecommitdiff
path: root/libavformat/sdp.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 /libavformat/sdp.c
parent979395bbbb9381b522b44c3448c24aef9c819ffc (diff)
Move find_info_tag to lavu and add av_ prefix to it
Signed-off-by: Janne Grunau <janne-ffmpeg@jannau.net>
Diffstat (limited to 'libavformat/sdp.c')
-rw-r--r--libavformat/sdp.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libavformat/sdp.c b/libavformat/sdp.c
index 872e76c5ae..2a8821815a 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;