diff options
author | Carl Eugen Hoyos <cehoyos@ag.or.at> | 2017-02-10 12:40:43 +0100 |
---|---|---|
committer | Carl Eugen Hoyos <cehoyos@ag.or.at> | 2017-02-10 12:40:43 +0100 |
commit | 74c576957ae137f3fd7669ca73a36633fb0517bb (patch) | |
tree | a4c0ac10fdfc8ca40de6b59df8a97bd69be4c487 /libavformat | |
parent | 3ea9773793abeb9fb1fe5e854705330182829469 (diff) | |
download | ffmpeg-streaming-74c576957ae137f3fd7669ca73a36633fb0517bb.zip ffmpeg-streaming-74c576957ae137f3fd7669ca73a36633fb0517bb.tar.gz |
lavf/movenc: Remove two unused variables.
Diffstat (limited to 'libavformat')
-rw-r--r-- | libavformat/movenc.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/libavformat/movenc.c b/libavformat/movenc.c index dc19838..a58b6a4 100644 --- a/libavformat/movenc.c +++ b/libavformat/movenc.c @@ -5517,7 +5517,7 @@ static int mov_init(AVFormatContext *s) { MOVMuxContext *mov = s->priv_data; AVDictionaryEntry *global_tcr = av_dict_get(s->metadata, "timecode", NULL, 0); - int i, ret, hint_track = 0, tmcd_track = 0; + int i, ret; mov->fc = s; @@ -5610,7 +5610,6 @@ static int mov_init(AVFormatContext *s) if (mov->flags & FF_MOV_FLAG_RTP_HINT) { /* Add hint tracks for each audio and video stream */ - hint_track = mov->nb_streams; for (i = 0; i < s->nb_streams; i++) { AVStream *st = s->streams[i]; if (st->codecpar->codec_type == AVMEDIA_TYPE_VIDEO || @@ -5622,8 +5621,6 @@ static int mov_init(AVFormatContext *s) if ( mov->write_tmcd == -1 && (mov->mode == MODE_MOV || mov->mode == MODE_MP4) || mov->write_tmcd == 1) { - tmcd_track = mov->nb_streams; - /* +1 tmcd track for each video stream with a timecode */ for (i = 0; i < s->nb_streams; i++) { AVStream *st = s->streams[i]; |