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

Ronald S. Bultje rsbultje
Tue May 26 20:27:35 CEST 2009


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.

Thanks,
Ronald



More information about the ffmpeg-devel mailing list