From b978391ed5fdbf361a03010db1a9f31a8b802985 Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Sun, 6 Apr 2014 01:34:48 +0200 Subject: [PATCH] avformat/oggparsevorbis: remove non functional null check Fixes CID1197055 Signed-off-by: Michael Niedermayer --- libavformat/oggparsevorbis.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavformat/oggparsevorbis.c b/libavformat/oggparsevorbis.c index 766f477ef2..c0898b0abf 100644 --- a/libavformat/oggparsevorbis.c +++ b/libavformat/oggparsevorbis.c @@ -157,7 +157,7 @@ int ff_vorbis_comment(AVFormatContext *as, AVDictionary **m, continue; } } else if (!ogm_chapter(as, tt, ct)) { - if (m && av_dict_get(*m, tt, NULL, 0)) { + if (av_dict_get(*m, tt, NULL, 0)) { av_dict_set(m, tt, ";", AV_DICT_APPEND); } av_dict_set(m, tt, ct,