mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
libavformat/movenc: remove unnecessary null check
Fixes CID1361955 Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
This commit is contained in:
parent
645f7c1ce5
commit
d74cc61574
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user