[FFmpeg-cvslog] r20916 - trunk/libavformat/rtpdec.c
lucabe
subversion
Wed Dec 23 22:23:27 CET 2009
Author: lucabe
Date: Wed Dec 23 22:23:26 2009
New Revision: 20916
Log:
Add support for mp3 over RTP in rtpdec.c
Modified:
trunk/libavformat/rtpdec.c
Modified: trunk/libavformat/rtpdec.c
==============================================================================
--- trunk/libavformat/rtpdec.c Wed Dec 23 17:01:15 2009 (r20915)
+++ trunk/libavformat/rtpdec.c Wed Dec 23 22:23:26 2009 (r20916)
@@ -486,6 +486,7 @@ int rtp_parse_packet(RTPDemuxContext *s,
// at this point, the RTP header has been stripped; This is ASSUMING that there is only 1 CSRC, which in't wise.
switch(st->codec->codec_id) {
case CODEC_ID_MP2:
+ case CODEC_ID_MP3:
/* better than nothing: skip mpeg audio RTP header */
if (len <= 4)
return -1;
More information about the ffmpeg-cvslog
mailing list