changeset 2412:a19cdec5d552 libavformat

Remove commented code (payload header extension)
author lucabe
date Wed, 29 Aug 2007 10:42:13 +0000
parents 9134c5f663bd
children 0b5863b939d3
files rtp_mpv.c
diffstat 1 files changed, 0 insertions(+), 11 deletions(-) [+]
line wrap: on
line diff
--- a/rtp_mpv.c	Tue Aug 28 13:43:39 2007 +0000
+++ b/rtp_mpv.c	Wed Aug 29 10:42:13 2007 +0000
@@ -45,23 +45,12 @@
         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;