aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2014-03-29 15:38:20 +0100
committerMichael Niedermayer <michaelni@gmx.at>2014-03-29 15:38:20 +0100
commit8a9d0a1561470a185a3d09676fcf9b44830a4bfe (patch)
tree6c743fe86663040dbed3af193db67b0078156238 /libavformat
parentb8f5b0713e812ce4ed699eb240a025c88d9ed2c2 (diff)
downloadffmpeg-8a9d0a1561470a185a3d09676fcf9b44830a4bfe.tar.gz
avformat/movenc: fix if vs if else
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavformat')
-rw-r--r--libavformat/movenc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/movenc.c b/libavformat/movenc.c
index 3ec4983f02..da533e1cec 100644
--- a/libavformat/movenc.c
+++ b/libavformat/movenc.c
@@ -1590,7 +1590,7 @@ static int mov_write_hdlr_tag(AVIOContext *pb, MOVTrack *track)
descr = "ClosedCaptionHandler";
} else {
if (track->tag == MKTAG('t','x','3','g')) hdlr_type = "sbtl";
- if (track->tag == MKTAG('m','p','4','s')) hdlr_type = "subp";
+ else if (track->tag == MKTAG('m','p','4','s')) hdlr_type = "subp";
else hdlr_type = "text";
descr = "SubtitleHandler";
}