[FFmpeg-devel] [PATCH] http Transfer-Encoding chunked

Kenan Gillet kenan.gillet
Tue May 26 20:33:48 CEST 2009

On May 26, 2009, at 11:27 AM, Ronald S. Bultje wrote:

> Hi Peter,
> On Tue, May 26, 2009 at 3:52 AM, Peter Holik <peter at holik.at> wrote:
>> documented and added a DEBUG statement for printing chunksize.
> Haha, almost correct:
> +#ifdef DEBUG
> +            printf("chunksize='%"PRId64"'\n", s->chunksize);
> +#endif
> printf() won't compile because of the define to please_use_av_log. So,
> please use av_log(). :-). You can then also leave out the #ifdef DEBUG
> and just use av_log(context, AV_LOG_DEBUG (or so), "Chunked encoding
> data size: %..", ..). Anyway, that's all I have, the patch looks good
> to me otherwise, if the resubmitted one fixes the above, I'll apply in
> a few days unless somebody else complains.

why not just usin dprintf ?


More information about the ffmpeg-devel mailing list