[FFmpeg-devel] [PATCH] lavfi/kerndeint: use width instead of linesize.
James Almer
jamrial at gmail.com
Sun Jan 6 06:56:06 CET 2013
On 06/01/13 2:31 AM, Clément Bœsch wrote:
> On Sun, Jan 06, 2013 at 06:31:21AM +0100, Clément Bœsch wrote:
>> On Sun, Jan 06, 2013 at 05:57:50AM +0100, Clément Bœsch wrote:
>>> ---
>>> I may be completely wrong, but the code looks way more legit this way.
>>> ---
>>> libavfilter/vf_kerndeint.c | 28 ++++++++++++++--------------
>>> tests/ref/lavfi/kerndeint | 18 +++++++++---------
>>> 2 files changed, 23 insertions(+), 23 deletions(-)
>>>
>>
>> New patch attached, which should be better. But I have two questions:
>>
>> - why is pixel_step unused?
>> - AV_PIX_FMT_YUV420P is planar while AV_PIX_FMT_YUYV422 is packed, is
>> this correct?
>>
>
> Even better with the patch.
For the record, this patch fixed the crash i was experiencing with the FATE suit (It was failing
when testing YUV420P).
Regards.
More information about the ffmpeg-devel
mailing list