[FFmpeg-cvslog] avformat/movenc: fix if vs if else
Michael Niedermayer
git at videolan.org
Sat Mar 29 15:43:32 CET 2014
ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Sat Mar 29 15:38:20 2014 +0100| [8a9d0a1561470a185a3d09676fcf9b44830a4bfe] | committer: Michael Niedermayer
avformat/movenc: fix if vs if else
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=8a9d0a1561470a185a3d09676fcf9b44830a4bfe
---
libavformat/movenc.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavformat/movenc.c b/libavformat/movenc.c
index 3ec4983..da533e1 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";
}
More information about the ffmpeg-cvslog
mailing list