[FFmpeg-devel] [PATCH 2/2] mmst: don't look for a hr field in ping messages

Francesco Cosoleto cosoleto
Sun Feb 13 17:23:30 CET 2011


2011/2/13 Ronald S. Bultje <rsbultje at gmail.com>:
>> Surely it works, nevertheless in theory MMS specs includes a packet,
>> SC_PKT_PASSWORD_REQUIRED (0x1a), without 'hr' field and with size
>> greater than ping packet. Identify these server messages before of
>> reading the hr value doesn't look to me so bad.
>
> How big? Ping packet is 36 bytes I think, hr is 40-44, so the check is
> simple enough.

Sorry if I wasn't clear. Forget it and feel free to apply your patch.

Francesco



More information about the ffmpeg-devel mailing list