Mercurial > libavformat.hg
diff mpegts.c @ 2159:fdaf754594df libavformat
simplify
author | michael |
---|---|
date | Fri, 08 Jun 2007 17:34:37 +0000 |
parents | 22e6d0a65dfd |
children | 3427d0c63a32 |
line wrap: on
line diff
--- a/mpegts.c Fri Jun 08 17:26:05 2007 +0000 +++ b/mpegts.c Fri Jun 08 17:34:37 2007 +0000 @@ -552,10 +552,7 @@ if (st) { if (language[0] != 0) { - st->language[0] = language[0]; - st->language[1] = language[1]; - st->language[2] = language[2]; - st->language[3] = language[3]; + memcpy(st->language, language, 4); } if (stream_type == STREAM_TYPE_SUBTITLE_DVB) {