]> git.sesse.net Git - ffmpeg/blobdiff - libavutil/dict.c
avformat/mpegenc: Replace *0.7 by *7/10
[ffmpeg] / libavutil / dict.c
index 4e4ea5f26f6c74dce3174db6ba5b5212db9c2e78..6ff1af52158a8dfb74bfae5fd0b70d649488f2c5 100644 (file)
@@ -109,7 +109,7 @@ int av_dict_set(AVDictionary **pm, const char *key, const char *value,
         m->elems[m->count].key = copy_key;
         m->elems[m->count].value = copy_value;
         if (oldval && flags & AV_DICT_APPEND) {
-            int len = strlen(oldval) + strlen(copy_value) + 1;
+            size_t len = strlen(oldval) + strlen(copy_value) + 1;
             char *newval = av_mallocz(len);
             if (!newval)
                 goto err_out;