summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMark Reid <mindmark@gmail.com>2016-05-29 17:17:32 -0700
committerMichael Niedermayer <michael@niedermayer.cc>2016-05-30 02:33:06 +0200
commitd74cc6157478e1bfa25674488554d966801a78cb (patch)
treeef08597b760c910a23e5c5cc64b438685b6c4dc0
parent645f7c1ce547f247af56990e6306d08d3d6a6286 (diff)
downloadffmpeg-streaming-d74cc6157478e1bfa25674488554d966801a78cb.zip
ffmpeg-streaming-d74cc6157478e1bfa25674488554d966801a78cb.tar.gz
libavformat/movenc: remove unnecessary null check
Fixes CID1361955 Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
-rw-r--r--libavformat/movenc.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/libavformat/movenc.c b/libavformat/movenc.c
index 49cd1bd..3a633a6 100644
--- a/libavformat/movenc.c
+++ b/libavformat/movenc.c
@@ -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
OpenPOWER on IntegriCloud