Mercurial > libavformat.hg
comparison mpegts.c @ 2159:fdaf754594df libavformat
simplify
author | michael |
---|---|
date | Fri, 08 Jun 2007 17:34:37 +0000 |
parents | 22e6d0a65dfd |
children | 3427d0c63a32 |
comparison
equal
deleted
inserted
replaced
2158:22e6d0a65dfd | 2159:fdaf754594df |
---|---|
550 break; | 550 break; |
551 } | 551 } |
552 | 552 |
553 if (st) { | 553 if (st) { |
554 if (language[0] != 0) { | 554 if (language[0] != 0) { |
555 st->language[0] = language[0]; | 555 memcpy(st->language, language, 4); |
556 st->language[1] = language[1]; | |
557 st->language[2] = language[2]; | |
558 st->language[3] = language[3]; | |
559 } | 556 } |
560 | 557 |
561 if (stream_type == STREAM_TYPE_SUBTITLE_DVB) { | 558 if (stream_type == STREAM_TYPE_SUBTITLE_DVB) { |
562 st->codec->sub_id = (anc_page << 16) | comp_page; | 559 st->codec->sub_id = (anc_page << 16) | comp_page; |
563 } | 560 } |