summaryrefslogtreecommitdiff
path: root/libavformat/rtpenc.c
diff options
context:
space:
mode:
authorMartin Storsjö <martin@martin.st>2012-10-08 23:18:38 +0300
committerMartin Storsjö <martin@martin.st>2012-10-08 23:55:53 +0300
commitc9b10cc4dbb67a94c29359fde79fb882d71fef6f (patch)
tree36886caad0d91a08af602341e7f097987e02f448 /libavformat/rtpenc.c
parent66d652cbf38eb39377f20a6b536f939b6150e952 (diff)
rtpenc_vp8: Update the packetizer to the latest spec version
Tested to work with the gstreamer depacketizer. Signed-off-by: Martin Storsjö <martin@martin.st>
Diffstat (limited to 'libavformat/rtpenc.c')
-rw-r--r--libavformat/rtpenc.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/libavformat/rtpenc.c b/libavformat/rtpenc.c
index dc257f6391..36064ed610 100644
--- a/libavformat/rtpenc.c
+++ b/libavformat/rtpenc.c
@@ -181,10 +181,6 @@ static int rtp_write_header(AVFormatContext *s1)
s->max_payload_size -= 6; // ident+frag+tdt/vdt+pkt_num+pkt_length
s->num_frames = 0;
goto defaultcase;
- case AV_CODEC_ID_VP8:
- av_log(s1, AV_LOG_ERROR, "RTP VP8 payload implementation is "
- "incompatible with the latest spec drafts.\n");
- break;
case AV_CODEC_ID_ADPCM_G722:
/* Due to a historical error, the clock rate for G722 in RTP is
* 8000, even if the sample rate is 16000. See RFC 3551. */