Commit b978391e authored by Michael Niedermayer's avatar Michael Niedermayer

avformat/oggparsevorbis: remove non functional null check

Fixes CID1197055
Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 419800ac
......@@ -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,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment