diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2012-11-04 00:56:57 +0100 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2012-11-04 01:03:52 +0100 |
commit | 5f531386210e844f0a6819404cde58da54c46a00 (patch) | |
tree | 4034332252a646708182e416c1c83a94280ec15f /libavformat/movenc.c | |
parent | c9e455432988acd414990ba92f782b8e3c4b6aea (diff) | |
download | ffmpeg-5f531386210e844f0a6819404cde58da54c46a00.tar.gz |
movenc: remove unneeded check
Fixes CID741417
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavformat/movenc.c')
-rw-r--r-- | libavformat/movenc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/movenc.c b/libavformat/movenc.c index 1f7701a339..3f540094d2 100644 --- a/libavformat/movenc.c +++ b/libavformat/movenc.c @@ -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); |