summaryrefslogtreecommitdiff
path: root/libavformat/rtp_mpv.c
diff options
context:
space:
mode:
authorLuca Abeni <lucabe72@email.it>2007-08-29 10:42:13 +0000
committerLuca Abeni <lucabe72@email.it>2007-08-29 10:42:13 +0000
commit7c8133aa442afbdb1f36572d49a6c31aed71023e (patch)
tree74d704b1fd6fbca801a56a0a9ed353a18c5a8a3a /libavformat/rtp_mpv.c
parent06396e11935d4148f7a188c282c7ea87aef9bb74 (diff)
Remove commented code (payload header extension)
Originally committed as revision 10259 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/rtp_mpv.c')
-rw-r--r--libavformat/rtp_mpv.c11
1 files changed, 0 insertions, 11 deletions
diff --git a/libavformat/rtp_mpv.c b/libavformat/rtp_mpv.c
index 3886d8bceb..55c1b08b8d 100644
--- a/libavformat/rtp_mpv.c
+++ b/libavformat/rtp_mpv.c
@@ -45,23 +45,12 @@ void ff_rtp_send_mpegvideo(AVFormatContext *s1, const uint8_t *buf1, int size)
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;