aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/parser.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2014-08-15 21:31:59 +0200
committerMichael Niedermayer <michaelni@gmx.at>2014-08-15 22:47:45 +0200
commit81a663f49edd265dc846ff3854579415cac1d5bb (patch)
tree316eba8de3800371865b42b36831e9829bf775f7 /libavcodec/parser.c
parent60dbed6067676d847157fe530b1caed06c77e2ab (diff)
downloadffmpeg-81a663f49edd265dc846ff3854579415cac1d5bb.tar.gz
Drop remaining unneeded != NULL
Reviewed-by: Clément Bœsch <u@pkh.me> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/parser.c')
-rw-r--r--libavcodec/parser.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/parser.c b/libavcodec/parser.c
index 71449ca3ab..55c2f527a2 100644
--- a/libavcodec/parser.c
+++ b/libavcodec/parser.c
@@ -54,7 +54,7 @@ AVCodecParserContext *av_parser_init(int codec_id)
if (codec_id == AV_CODEC_ID_NONE)
return NULL;
- for (parser = av_first_parser; parser != NULL; parser = parser->next) {
+ for (parser = av_first_parser; parser; parser = parser->next) {
if (parser->codec_ids[0] == codec_id ||
parser->codec_ids[1] == codec_id ||
parser->codec_ids[2] == codec_id ||