Commit ad335383 authored by lucabe's avatar lucabe

Remove commented code (payload header extension)


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@10259 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent b5249e9f
...@@ -45,23 +45,12 @@ void ff_rtp_send_mpegvideo(AVFormatContext *s1, const uint8_t *buf1, int size) ...@@ -45,23 +45,12 @@ void ff_rtp_send_mpegvideo(AVFormatContext *s1, const uint8_t *buf1, int size)
h |= b << 12; h |= b << 12;
h |= e << 11; h |= e << 11;
// if (st->codec->sub_id == 2)
// h |= 1 << 26; /* mpeg 2 indicator */
q = s->buf; q = s->buf;
*q++ = h >> 24; *q++ = h >> 24;
*q++ = h >> 16; *q++ = h >> 16;
*q++ = h >> 8; *q++ = h >> 8;
*q++ = h; *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); memcpy(q, buf1, len);
q += len; q += len;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment