# HG changeset patch # User lucabe # Date 1188384133 0 # Node ID a19cdec5d552d146b0c676b120ad291e778638c1 # Parent 9134c5f663bdc7e74514f66ca40fe8d1d2f0c75c Remove commented code (payload header extension) diff -r 9134c5f663bd -r a19cdec5d552 rtp_mpv.c --- 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;