[FFmpeg-devel] should ff_rtp_codec_id() be case insensitive?

Michael Niedermayer michaelni at gmx.at
Mon Aug 5 22:02:56 CEST 2013


On Mon, Aug 05, 2013 at 07:06:53PM +0800, Wei-Cheng Pan wrote:
> Hi,
> 
> I had an rtsp stream like this:
> 
> 
> SDP:                                                                                                                                                                        
> v=0                                                                                                                                                                                           
> o=RTSP 1375702538 771 IN IP4 0.0.0.0                                                                                                                                                          
> s=RTSP server                                                                                                                                                                                 
> c=IN IP4 0.0.0.0                                                                                                                                                                              
> t=0 0                                                                                                                                                                                         
> a=charset:Shift_JIS                                                                                                                                                                           
> a=range:npt=0-                                                                                                                                                                                
> a=control:*                                                                                                                                                                                   
> a=etag:1234567890                                                                                                                                                                             
> m=video 0 RTP/AVP 98                                                                                                                                                                          
> b=AS:0                                                                                                                                                                                        
> a=rtpmap:98 H264/90000                                                                                                                                                                        
> a=control:trackID=1                                                                                                                                                                           
> a=fmtp:98 packetization-mode=1; profile-level-id=644014; sprop-parameter-
> sets=J2RAFKwsagUG3lhAAAD6QAA6mAE=,KO4CGLA=                                                                           
> m=audio 0 RTP/AVP 0                                                                                                                                                                           
> a=control:trackID=4                                                                                                                                                                           
> a=rtpmap:0 pcmu/8000 
> 
> 
> because pcmu (see the last line) is in lower case, ff_rtp_codec_id() in 
> libavformat/rtp.c can not match the right codec.
> 
> This patch is base on tag n2.0.

patch applied

thanks

[...]

-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

If you think the mosad wants you dead since a long time then you are either
wrong or dead since a long time.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20130805/064e1225/attachment.asc>


More information about the ffmpeg-devel mailing list