[FFmpeg-devel] Realmedia patch

Ronald S. Bultje rsbultje
Sat Aug 30 16:46:09 CEST 2008


Hi all,

On Sat, Aug 30, 2008 at 9:27 AM, Ronald S. Bultje <rsbultje at gmail.com> wrote:
> New patch attached.

I had one of those "oh crap" moments just now, new patch attached.
There's a one-line change and you're not going to like it. Halfway
ff_calc_response_and_checksum, after I call ff_data_to_hex():

[..]
     av_md5_sum(zres, buf, 64);
     ff_data_to_hex(response, zres, 16);
+   for (i=0;i<32;i++) response[i] = tolower(response[i]);
[..]

Yes, really, I can only send lowercase. ff_data_to_hex() returns
uppercase, else I'll get a 461 ("unsupported protocol") error. Any
ocmments for something less ugly appreciated... I can also send an
updated patch for the remainder after all previous patches if there's
interest (not all comments have been taken care of in that code, but
at least it works).

Ronald
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: rtsp-setup.patch
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20080830/8b7c38cc/attachment.txt>



More information about the ffmpeg-devel mailing list