mirror of
				https://github.com/nyanmisaka/ffmpeg-rockchip.git
				synced 2025-10-31 20:42:49 +08:00 
			
		
		
		
	Add support for mp3 over RTP in rtpdec.c
Originally committed as revision 20916 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
		| @@ -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; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Luca Abeni
					Luca Abeni