[Ffmpeg-devel] [PATCH] Portable snprintf argument for http.c
    Måns Rullgård 
    mru
       
    Wed Jan 24 21:22:57 CET 2007
    
    
  
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...
-- 
M?ns Rullg?rd
mru at inprovide.com
    
    
More information about the ffmpeg-devel
mailing list