[FFmpeg-cvslog] avformat/oggparsevorbis: remove non functional null check

Michael Niedermayer git at videolan.org
Sun Apr 6 01:41:35 CEST 2014


ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Sun Apr  6 01:34:48 2014 +0200| [b978391ed5fdbf361a03010db1a9f31a8b802985] | committer: Michael Niedermayer

avformat/oggparsevorbis: remove non functional null check

Fixes CID1197055

Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=b978391ed5fdbf361a03010db1a9f31a8b802985
---

 libavformat/oggparsevorbis.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavformat/oggparsevorbis.c b/libavformat/oggparsevorbis.c
index 766f477..c0898b0 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,



More information about the ffmpeg-cvslog mailing list