[libav-devel] [PATCH] rtmp: Implement check bandwidth notification.

Luca Barbato lu_zero at gentoo.org
Wed May 9 02:53:00 CEST 2012


On 08/05/12 15:58, Samuel Pitoiset wrote:
> +        } else if (!memcmp(pkt->data, "\002\000\010onBWDone", 11)) {

You might make a macro or a function to do this kind of matches since
they will be used a lot later, (And will be used probably on avserv
later so a public one), or try to use a cleaner approach of parsing it
as amf string.

lu

-- 

Luca Barbato
Gentoo/linux
http://dev.gentoo.org/~lu_zero



More information about the libav-devel mailing list