summaryrefslogtreecommitdiffstats
path: root/stream/stream_ffmpeg.c
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2012-11-01 00:32:17 +0100
committerwm4 <wm4@nowhere>2012-11-01 02:12:17 +0100
commit2b35fc13eddb4cbad2422e53bb9be26df3dfc205 (patch)
tree8b02cdf594e8341d1ea01ef1791e21ff4d936bd9 /stream/stream_ffmpeg.c
parent73f866e7ebaf11f855d255649b5f57d6d19f541c (diff)
downloadmpv-2b35fc13eddb4cbad2422e53bb9be26df3dfc205.tar.bz2
mpv-2b35fc13eddb4cbad2422e53bb9be26df3dfc205.tar.xz
http: fix potential NULL pointer issue
Found by clang analyzer. This called strlen(NULL), if the uri field in the http_hdr wasn't set. It seems all callers of this function set the field properly, so remove the bogus fallback to "/".
Diffstat (limited to 'stream/stream_ffmpeg.c')
0 files changed, 0 insertions, 0 deletions