[vlc-devel] Patches to add support for speex codec in RTP

Laurent Aimar fenrir at via.ecp.fr
Fri Sep 7 15:42:39 CEST 2007


Hi,

On Fri, Sep 07, 2007, Hawkins, William - AES wrote:
> es_out.c: I used a -1 value for the i_extra field of the es_format_t structure to indicate that the Speex audio originated from an RTP stream. The modifications here ensure that a value of -1 does not start a deep copy of the data pointed to by p_extra. 

 I am really against using -1 in such a field. It will introduce many bugs.

You should simply use another fourcc code for speex over RTP or you may
convert it back to normal speex format if possible in live555.cpp.

Regards,

-- 
fenrir




More information about the vlc-devel mailing list