diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2007-06-08 17:34:37 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2007-06-08 17:34:37 +0000 |
commit | b3e104366a5705625b040c3d822f6ba1b0e44f66 (patch) | |
tree | 5b2bf7a7c25d1c382d0b2313604cbe982b33663b /libavformat/mpegts.c | |
parent | 2bb486a5e65c2a4fe995f0ac348686dae65cacca (diff) | |
download | ffmpeg-streaming-b3e104366a5705625b040c3d822f6ba1b0e44f66.zip ffmpeg-streaming-b3e104366a5705625b040c3d822f6ba1b0e44f66.tar.gz |
simplify
Originally committed as revision 9258 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/mpegts.c')
-rw-r--r-- | libavformat/mpegts.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/libavformat/mpegts.c b/libavformat/mpegts.c index 8cf7a9f..988baf9 100644 --- a/libavformat/mpegts.c +++ b/libavformat/mpegts.c @@ -552,10 +552,7 @@ static void pmt_cb(MpegTSFilter *filter, const uint8_t *section, int section_len 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) { |