[FFmpeg-devel] [PATCH] Remove some dependancies of libavfilter on libavcodec

Stefano Sabatini stefano.sabatini-lala
Sun Jan 31 15:19:13 CET 2010


Hi,
avoid the use of avcodec_get_pix_fmt_name() and
avcodec_get_chroma_sub_sample(), which are not necessary anymore since
the pixdesc.h API addition.

Alternatively we could have the functions:
av_get_pix_fmt_chroma_shift()

and maybe a:
av_get_pix_fmt_name()

which may be used by other librearies as well (lsws).

Apart from these, lavfi uses from lavc still the enum:
enum CodecType (avcodec.h)
ff_fill_linesize() (imgconvert.h)
ff_fill_pointer() (imgconvert.h)

would be OK to move these to lavu as well?

Regards.
-- 
FFmpeg = Frenzy and Fundamental Magical Programmable Exploitable Gadget
-------------- next part --------------
A non-text attachment was scrubbed...
Name: rm-some-lavc-deps-from-lavfi.patch
Type: text/x-diff
Size: 3929 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20100131/5c8e5f32/attachment.patch>



More information about the ffmpeg-devel mailing list