diff options
author | Gabriel Dume <gabriel.ddx84@gmail.com> | 2014-08-14 16:31:25 -0400 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2014-08-15 05:34:13 -0700 |
commit | 4b1f5e5090abed6c618c8ba380cd7d28d140f867 (patch) | |
tree | d5281695ec758c21ed6c0df8e3c03433bca28d18 /tools/ismindex.c | |
parent | f929ab0569ff31ed5a59b0b0adb7ce09df3fca39 (diff) | |
download | ffmpeg-4b1f5e5090abed6c618c8ba380cd7d28d140f867.tar.gz |
cosmetics: Write NULL pointer inequality checks more compactly
Signed-off-by: Diego Biurrun <diego@biurrun.de>
Diffstat (limited to 'tools/ismindex.c')
-rw-r--r-- | tools/ismindex.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/ismindex.c b/tools/ismindex.c index 493fb0c602..a2eed87486 100644 --- a/tools/ismindex.c +++ b/tools/ismindex.c @@ -323,7 +323,7 @@ static int handle_file(struct Tracks *tracks, const char *file, int split, tracks->tracks[tracks->nb_tracks] = track; track->name = file; - if ((ptr = strrchr(file, '/')) != NULL) + if ((ptr = strrchr(file, '/'))) track->name = ptr + 1; track->bitrate = st->codec->bit_rate; |