remove duplicate Vorbis comment tag handling
authorMåns Rullgård <mans@mansr.com>
Wed, 10 Oct 2007 22:58:16 +0000 (22:58 +0000)
committerMåns Rullgård <mans@mansr.com>
Wed, 10 Oct 2007 22:58:16 +0000 (22:58 +0000)
Originally committed as revision 10704 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavformat/oggparsevorbis.c

index a723bb2..be8dd3f 100644 (file)
@@ -102,10 +102,6 @@ vorbis_comment(AVFormatContext * as, uint8_t *buf, int size)
                 as->track = atoi(ct);
             else if (!strcmp(tt, "ALBUM"))
                 av_strlcpy(as->album, ct, sizeof(as->album));
-            else if (!strcmp(tt, "GENRE"))
-                av_strlcpy(as->genre, ct, sizeof(as->genre));
-            else if (!strcmp(tt, "DESCRIPTION"))
-                av_strlcpy(as->comment, ct, sizeof(as->comment));
         }
     }