[FFmpeg-cvslog] r10259 - trunk/libavformat/rtp_mpv.c

lucabe subversion
Wed Aug 29 12:42:13 CEST 2007


Author: lucabe
Date: Wed Aug 29 12:42:13 2007
New Revision: 10259

Log:
Remove commented code (payload header extension)


Modified:
   trunk/libavformat/rtp_mpv.c

Modified: trunk/libavformat/rtp_mpv.c
==============================================================================
--- trunk/libavformat/rtp_mpv.c	(original)
+++ trunk/libavformat/rtp_mpv.c	Wed Aug 29 12:42:13 2007
@@ -45,23 +45,12 @@ void ff_rtp_send_mpegvideo(AVFormatConte
         h |= b << 12;
         h |= e << 11;
 
-//        if (st->codec->sub_id == 2)
-//            h |= 1 << 26; /* mpeg 2 indicator */
-
         q = s->buf;
         *q++ = h >> 24;
         *q++ = h >> 16;
         *q++ = h >> 8;
         *q++ = h;
 
-/*        if (st->codec->sub_id == 2) {
-            h = 0;
-            *q++ = h >> 24;
-            *q++ = h >> 16;
-            *q++ = h >> 8;
-            *q++ = h;
-        } */
-
         memcpy(q, buf1, len);
         q += len;
 




More information about the ffmpeg-cvslog mailing list