Re: [libav-devel] [PATCH] Make av_log_ask_for_sample() accept a format string.

2011-04-18 Thread Ronald S. Bultje
Hi, On Mon, Apr 18, 2011 at 5:53 PM, Diego Biurrun wrote: > -void av_log_ask_for_sample(void *avc, const char *msg) > +void av_log_ask_for_sample(void *avc, const char *msg, ...) >  { >     if (msg) >         av_log(avc, AV_LOG_WARNING, "%s ", msg); I don't think this is sufficient to make it wo

[libav-devel] [PATCH] Make av_log_ask_for_sample() accept a format string.

2011-04-18 Thread Diego Biurrun
This makes the function more flexible and allows using it in more places. --- libavcodec/avcodec.h |4 ++-- libavcodec/utils.c |2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h index df4e617..166a088 100644 --- a/libavcodec/