X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=libavformat%2Fmov.c;h=cfe76cde4bf67d469232d75679eb7ba76d13bb3f;hb=6d69503883dad9bc6526965fb6180c85b8c55e7f;hp=9b4832fb3402b6d5f50bb1fe8b667d2eaa57c39c;hpb=6be71e9955954422227f9691b4f5367a7169b099;p=ffmpeg diff --git a/libavformat/mov.c b/libavformat/mov.c index 9b4832fb340..cfe76cde4bf 100644 --- a/libavformat/mov.c +++ b/libavformat/mov.c @@ -2534,8 +2534,8 @@ static int mov_read_custom_2plus(MOVContext *c, AVIOContext *pb, int size) if(priming>0 && priming<16384) sc->start_pad = priming; } - } else if (strcmp(key, "cdec") == 0) { - } else { + } + if (strcmp(key, "cdec") != 0) { av_dict_set(&c->fc->metadata, key, val, AV_DICT_DONT_STRDUP_KEY | AV_DICT_DONT_STRDUP_VAL); key = val = NULL;