avformat/oggparsevorbis: remove non functional null check
authorMichael Niedermayer <michaelni@gmx.at>
Sat, 5 Apr 2014 23:34:48 +0000 (01:34 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Sat, 5 Apr 2014 23:34:48 +0000 (01:34 +0200)
Fixes CID1197055

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavformat/oggparsevorbis.c

index 766f477..c0898b0 100644 (file)
@@ -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,