diff options
author | Diego Biurrun <diego@biurrun.de> | 2013-03-25 16:12:51 +0100 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2013-05-04 21:43:06 +0200 |
commit | e0f8be6413b6a8d334d6052e610af32935c310af (patch) | |
tree | 1548e782ae23ad6e46225593b96928a85d1286a5 /libavformat/rtsp.c | |
parent | 4d7ed3e73541983459a7913c2034eba69ebc113d (diff) | |
download | ffmpeg-e0f8be6413b6a8d334d6052e610af32935c310af.tar.gz |
avformat: Add AVPROBE_SCORE_EXTENSION define and use where appropriate
Diffstat (limited to 'libavformat/rtsp.c')
-rw-r--r-- | libavformat/rtsp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/rtsp.c b/libavformat/rtsp.c index a5e2f050ce..3351c34a58 100644 --- a/libavformat/rtsp.c +++ b/libavformat/rtsp.c @@ -2032,7 +2032,7 @@ static int sdp_probe(AVProbeData *p1) while (p < p_end && *p != '\0') { if (p + sizeof("c=IN IP") - 1 < p_end && av_strstart(p, "c=IN IP", NULL)) - return AVPROBE_SCORE_MAX / 2; + return AVPROBE_SCORE_EXTENSION; while (p < p_end - 1 && *p != '\n') p++; if (++p >= p_end) |