Commit d74cc615 authored by Mark Reid's avatar Mark Reid Committed by Michael Niedermayer

libavformat/movenc: remove unnecessary null check

Fixes CID1361955
Signed-off-by: 's avatarMichael Niedermayer <michael@niedermayer.cc>
parent 645f7c1c
......@@ -1894,9 +1894,7 @@ static int mov_write_tmcd_tag(AVIOContext *pb, MOVTrack *track)
avio_w8(pb, nb_frames); /* Number of frames */
avio_w8(pb, 0); /* Reserved */
if (track->st)
t = av_dict_get(track->st->metadata, "reel_name", NULL, 0);
t = av_dict_get(track->st->metadata, "reel_name", NULL, 0);
if (t && utf8len(t->value) && track->mode != MODE_MP4)
mov_write_source_reference_tag(pb, track, t->value);
else
......
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