[FFmpeg-cvslog] r9258 - trunk/libavformat/mpegts.c

michael subversion
Fri Jun 8 19:34:37 CEST 2007


Author: michael
Date: Fri Jun  8 19:34:37 2007
New Revision: 9258

Log:
simplify


Modified:
   trunk/libavformat/mpegts.c

Modified: trunk/libavformat/mpegts.c
==============================================================================
--- trunk/libavformat/mpegts.c	(original)
+++ trunk/libavformat/mpegts.c	Fri Jun  8 19:34:37 2007
@@ -552,10 +552,7 @@ static void pmt_cb(MpegTSFilter *filter,
 
         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) {




More information about the ffmpeg-cvslog mailing list