Mercurial > libavformat.hg
changeset 2159:fdaf754594df libavformat
simplify
author | michael |
---|---|
date | Fri, 08 Jun 2007 17:34:37 +0000 |
parents | 22e6d0a65dfd |
children | 8c9464575611 |
files | mpegts.c |
diffstat | 1 files changed, 1 insertions(+), 4 deletions(-) [+] |
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) {