]> git.sesse.net Git - ffmpeg/blobdiff - libavformat/oggparsevorbis.c
avformat/hlsenc: allow a custom SDT and PAT period
[ffmpeg] / libavformat / oggparsevorbis.c
index 43f05f928acd64b86320f8bbf48d6e08f49b2fe1..8dd27e777063f3e1abbe1a4ba3e3059359cd39e5 100644 (file)
@@ -177,9 +177,8 @@ int ff_vorbis_comment(AVFormatContext *as, AVDictionary **m,
                     av_dict_set(m, tt, ";", AV_DICT_APPEND);
                 }
                 av_dict_set(m, tt, ct,
-                            AV_DICT_DONT_STRDUP_KEY |
+                            AV_DICT_DONT_STRDUP_KEY | AV_DICT_DONT_STRDUP_VAL |
                             AV_DICT_APPEND);
-                av_freep(&ct);
             }
         }
     }