A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://ffmpeg.org/pipermail/ffmpeg-devel/2007-January/027900.html below:

[Ffmpeg-devel] [PATCH] Portable snprintf argument for http.c

[Ffmpeg-devel] [PATCH] Portable snprintf argument for http.c [Ffmpeg-devel] [PATCH] Portable snprintf argument for http.cRamiro Polla angustia
Wed Jan 24 21:30:33 CET 2007
M?ns Rullg?rd wrote:
> ramiro at lisha.ufsc.br writes:
>
>   
>> Hello,
>>
>> Attached patch uses the portable PRIu64 argument for snprintf in http.c
>>
>> Ramiro Polla
>>
>> Index: libavformat/http.c
>> ===================================================================
>> --- libavformat/http.c	(revision 7692)
>> +++ libavformat/http.c	(working copy)
>> @@ -222,7 +222,7 @@
>>               "%s %s HTTP/1.1\r\n"
>>               "User-Agent: %s\r\n"
>>               "Accept: */*\r\n"
>> -             "Range: bytes=%llu-\r\n"
>> +             "Range: bytes=%"PRIu64"-\r\n"
>>               "Host: %s\r\n"
>>               "Authorization: Basic %s\r\n"
>>               "\r\n",
>>     
>
> The argument is signed...
>
>   

I thought about using PRId64, but I used the unsigned argument since the 
code used %llu.


More information about the ffmpeg-devel mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4