avformat/movenc: fix if vs if else

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
pull/64/head
Michael Niedermayer 11 years ago
parent b8f5b0713e
commit 8a9d0a1561
  1. 2
      libavformat/movenc.c

@ -1590,7 +1590,7 @@ static int mov_write_hdlr_tag(AVIOContext *pb, MOVTrack *track)
descr = "ClosedCaptionHandler"; descr = "ClosedCaptionHandler";
} else { } else {
if (track->tag == MKTAG('t','x','3','g')) hdlr_type = "sbtl"; 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"; else hdlr_type = "text";
descr = "SubtitleHandler"; descr = "SubtitleHandler";
} }

Loading…
Cancel
Save