avformat/oggparsevorbis: remove non functional null check

Fixes CID1197055

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
Michael Niedermayer 2014-04-06 01:34:48 +02:00
parent 419800acc4
commit b978391ed5

View 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,