[FFmpeg-devel] [PATCH] lavfi/il: simplify/generalize linesize computation

Paul B Mahol onemda at gmail.com
Sun Feb 10 11:29:01 CET 2013


On 2/10/13, Stefano Sabatini <stefasab at gmail.com> wrote:
> Rely on generic utilities for computing each plane linesize.
>
> In particular, add support to NV12/21 formats and avoid use of
> PIX_FMT_PLANAR pixdesc flag, whose semantics is questionable.
> ---
>  libavfilter/vf_il.c |   42 ++++++++++++++++++------------------------
>  1 file changed, 18 insertions(+), 24 deletions(-)
>

probably ok. I think I did not used linesizes directly because of fear
that this would break DR if one writes between linesize end and real
data end....


More information about the ffmpeg-devel mailing list