aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2014-04-06 01:34:48 +0200
committerMichael Niedermayer <michaelni@gmx.at>2014-04-06 01:34:48 +0200
commitb978391ed5fdbf361a03010db1a9f31a8b802985 (patch)
tree1560441c38f1520339414c7bbd2bae8764a8d1ef
parent419800acc46afc0c3b7319d6e216d0da207ebbb7 (diff)
downloadffmpeg-b978391ed5fdbf361a03010db1a9f31a8b802985.tar.gz
avformat/oggparsevorbis: remove non functional null check
Fixes CID1197055 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r--libavformat/oggparsevorbis.c2
1 files changed, 1 insertions, 1 deletions
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,