diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2014-03-29 18:38:20 +0400 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2014-03-29 18:38:20 +0400 |
commit | 8a9d0a1561470a185a3d09676fcf9b44830a4bfe (patch) | |
tree | 6c743fe86663040dbed3af193db67b0078156238 /libavformat/movenc.c | |
parent | b8f5b0713e812ce4ed699eb240a025c88d9ed2c2 (diff) |
avformat/movenc: fix if vs if else
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavformat/movenc.c')
-rw-r--r-- | libavformat/movenc.c | 2 |
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"; } |