libavformat/movenc: remove unnecessary null check

Fixes CID1361955

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
This commit is contained in:
Mark Reid 2016-05-29 17:17:32 -07:00 committed by Michael Niedermayer
parent 645f7c1ce5
commit d74cc61574

View File

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