1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-12-23 12:43:46 +02:00

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

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