[FFmpeg-devel] Realmedia patch
Ronald S. Bultje
Sat Aug 30 04:00:36 CEST 2008
Hi Luca & Michael,
On Tue, Aug 26, 2008 at 5:26 AM, Luca Abeni <lucabe72 at email.it> wrote:
> Michael Niedermayer wrote:
>>> Index: ffmpeg-svn/libavformat/rtp_internal.h
>>> --- ffmpeg-svn.orig/libavformat/rtp_internal.h 2008-08-24 21:34:30.000000000 -0400
>>> +++ ffmpeg-svn/libavformat/rtp_internal.h 2008-08-24 21:57:39.000000000 -0400
>>> @@ -146,5 +146,20 @@
>>> void av_register_rtp_dynamic_payload_handlers(void);
>>> + * Calculate the response (RealChallenge2 in the RTSP header) to the
>>> + * challenge (RealChallenge1 in the RTSP header from the Real/Helix
>>> + * server), which is used as some sort of client validation.
>>> + *
>>> + * @param response pointer to response buffer, it should be at least 41 bytes
>>> + * (40 data + 1 zero) bytes long.
>>> + * @param chksum pointer to buffer containing a checksum of the response,
>>> + * it should be at least 9 (8 data + 1 zero) bytes long.
>>> + * @param challenge pointer to the RealChallenge1 value provided by the
>>> + * server.
>>> + */
>>> +void ff_rdt_calc_response_and_checksum(char *response, char *chksum,
>>> + const char *challenge);
>> the array sizes are missing
> BTW, I also believe that this does not belong to rtp_internal.h (probably,
> an rdt.h file should be created).
Both fixed in newly attached patch.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
More information about the ffmpeg-devel