[FFmpeg-devel] [PATCH 2/2] Deprecate avcodec_check_dimensions() in favor of the new function av_check_image_size() declared in libavcore/imgutils.h.

Stefano Sabatini stefano.sabatini-lala
Mon Aug 2 16:12:51 CEST 2010


On date Friday 2010-07-30 12:13:57 +0200, Stefano Sabatini encoded:
> ---
>  libavcodec/avcodec.h |   10 ++++------
>  libavcodec/utils.c   |    8 +++-----
>  libavcore/imgutils.c |    9 +++++++++
>  libavcore/imgutils.h |   10 ++++++++++
>  libavfilter/vf_pad.c |    2 +-
>  5 files changed, 27 insertions(+), 12 deletions(-)

Attached another variant, which allows to apply a log level offset,
for example for disabling logging.

This allows to eliminate the last dependency of libavfilter on
libavcodec.

I'll remove the use of the deprecated function with another commit if
this is approved.

Regards.
-- 
FFmpeg = Freak and Fancy Mere Ponderous Extended Gospel



More information about the ffmpeg-devel mailing list