Commit 5f531386 authored by Michael Niedermayer's avatar Michael Niedermayer

movenc: remove unneeded check

Fixes CID741417
Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent c9e45543
......@@ -2037,7 +2037,7 @@ static int mov_write_int8_metadata(AVFormatContext *s, AVIOContext *pb,
if (!(t = av_dict_get(s->metadata, tag, NULL, 0)))
return 0;
num = t ? atoi(t->value) : 0;
num = atoi(t->value);
avio_wb32(pb, len+8);
ffio_wfourcc(pb, name);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment