Mercurial > libavformat.hg
changeset 5472:a24f34fa4186 libavformat
Add support for mp3 over RTP in rtpdec.c
author | lucabe |
---|---|
date | Wed, 23 Dec 2009 21:23:26 +0000 |
parents | b5af21b34101 |
children | c00ff770b4fc |
files | rtpdec.c |
diffstat | 1 files changed, 1 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/rtpdec.c Fri Dec 18 06:03:12 2009 +0000 +++ b/rtpdec.c Wed Dec 23 21:23:26 2009 +0000 @@ -486,6 +486,7 @@ // 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;