[FFmpeg-devel] Realmedia patch
Ronald S. Bultje
Mon Aug 25 03:59:40 CEST 2008
On Thu, Aug 21, 2008 at 12:05 AM, Michael Niedermayer <michaelni at gmx.at> wrote:
> On Mon, Aug 18, 2008 at 10:21:35AM -0400, Ronald S. Bultje wrote:
>> * @returns 0 on success, <0 on error, 1 if protocol is unavailable.
>> static int
>> -make_setup_request (AVFormatContext *s, const char *host, int port, int protocol)
>> +make_setup_request (AVFormatContext *s, const char *host, int port,
>> + int protocol, RealSetupRequestData *real_data)
> I think a const char *real_challenge would be enough no RealSetupRequestData
> seems needed
>> +ff_rdt_calc_response_and_checksum(char *response, char *chksum, char *challenge)
> the arguments should be const as appropriate and look like chksum so
> the size of the arrays is clearly known
Attached patch implements only the RDT-compatible SETUP command, and
requires the previous patch that exports data_to_hex().
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
More information about the ffmpeg-devel