movenc: remove unneeded check

Fixes CID741417
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
Michael Niedermayer 2012-11-04 00:56:57 +01:00
parent c9e4554329
commit 5f53138621
1 changed files with 1 additions and 1 deletions

View File

@ -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);