mirror of https://git.ffmpeg.org/ffmpeg.git
movenc: remove unneeded check
Fixes CID741417 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
c9e4554329
commit
5f53138621
|
@ -2037,7 +2037,7 @@ static int mov_write_int8_metadata(AVFormatContext *s, AVIOContext *pb,
|
||||||
|
|
||||||
if (!(t = av_dict_get(s->metadata, tag, NULL, 0)))
|
if (!(t = av_dict_get(s->metadata, tag, NULL, 0)))
|
||||||
return 0;
|
return 0;
|
||||||
num = t ? atoi(t->value) : 0;
|
num = atoi(t->value);
|
||||||
|
|
||||||
avio_wb32(pb, len+8);
|
avio_wb32(pb, len+8);
|
||||||
ffio_wfourcc(pb, name);
|
ffio_wfourcc(pb, name);
|
||||||
|
|
Loading…
Reference in New Issue