[FFmpeg-devel] [PATCH] rtsp: Handle standard assigned codec names for private payload types, too

Martin Storsjö martin
Sat Sep 11 21:24:33 CEST 2010


Hi,

In most cases, the payload type in RTP is one of the standard assigned 
numbers (below 96) for codecs that have a standard number assigned, and 
private/dynamic ones for others. If, for some reason, a stream uses a 
dynamic payload type number for a codec with a standard type, we currently 
fail to open the stream properly. The attached patch uses ff_rtp_codec_id 
to find the right codec ID for such streams, if no matching dynamic 
handler was found.

// Martin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-rtsp-Handle-standard-assigned-codec-names-for-privat.patch
Type: text/x-diff
Size: 849 bytes
Desc: 
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20100911/c5068014/attachment.patch>



More information about the ffmpeg-devel mailing list