diff options
author | Luca Abeni <lucabe72@email.it> | 2009-12-23 21:23:26 +0000 |
---|---|---|
committer | Luca Abeni <lucabe72@email.it> | 2009-12-23 21:23:26 +0000 |
commit | 76faff6ef2f3ccdbee5e30cf7d002e540d908f6e (patch) | |
tree | debf35033bead3fc15140e622892d8f9f95131c0 /libavformat/rtpdec.c | |
parent | ce293510d990768e09cf422aa0c59b9308e4145b (diff) | |
download | ffmpeg-76faff6ef2f3ccdbee5e30cf7d002e540d908f6e.tar.gz |
Add support for mp3 over RTP in rtpdec.c
Originally committed as revision 20916 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/rtpdec.c')
-rw-r--r-- | libavformat/rtpdec.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libavformat/rtpdec.c b/libavformat/rtpdec.c index 48995e7de4..79c3535695 100644 --- a/libavformat/rtpdec.c +++ b/libavformat/rtpdec.c @@ -486,6 +486,7 @@ int rtp_parse_packet(RTPDemuxContext *s, AVPacket *pkt, // 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; |