diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2014-08-15 21:21:14 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2014-08-15 21:26:12 +0200 |
commit | 60dbed6067676d847157fe530b1caed06c77e2ab (patch) | |
tree | 62d43c9dc8162c8c809cc689f599befb2fdc2bbe /libavformat/url.c | |
parent | fb33bff990a8327f59d4c7c509bba1f62bbd6c5a (diff) | |
parent | 4b1f5e5090abed6c618c8ba380cd7d28d140f867 (diff) | |
download | ffmpeg-60dbed6067676d847157fe530b1caed06c77e2ab.tar.gz |
Merge commit '4b1f5e5090abed6c618c8ba380cd7d28d140f867'
* commit '4b1f5e5090abed6c618c8ba380cd7d28d140f867':
cosmetics: Write NULL pointer inequality checks more compactly
Conflicts:
libavcodec/dvdsubdec.c
libavcodec/h263dec.c
libavcodec/libxvid.c
libavcodec/rv10.c
libavcodec/utils.c
libavformat/format.c
libavformat/matroskadec.c
libavformat/segment.c
libavutil/opt.c
Merged-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavformat/url.c')
-rw-r--r-- | libavformat/url.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/url.c b/libavformat/url.c index 47e15843cf..acfb0cf2f0 100644 --- a/libavformat/url.c +++ b/libavformat/url.c @@ -111,7 +111,7 @@ void ff_make_absolute_url(char *buf, int size, const char *base, /* Strip off any query string from base */ path_query = strchr(buf, '?'); - if (path_query != NULL) + if (path_query) *path_query = '\0'; /* Is relative path just a new query part? */ |