On Tue, 27 Nov 2012 20:10:37 +0100, Luca Barbato <[email protected]> wrote: > On 11/27/2012 01:40 PM, Anton Khirnov wrote: > > --- > > libavfilter/vf_crop.c | 65 > > +++++++++++++------------------------------------ > > 1 file changed, 17 insertions(+), 48 deletions(-) > > > > Doesn't it need the same direct vs copy logic?
No. It's not touching the data, it only messses with pointers to it. So we can safely crop even read-only buffers. -- Anton Khirnov _______________________________________________ libav-devel mailing list [email protected] https://lists.libav.org/mailman/listinfo/libav-devel
