v4l2dec: refine dw logic [1/1]

PD#SWPL-195576

Problem:
It is not reasonable to use the output to determine whether dw is 0,
which will lead to error buffer size.
The capture should be used instead.

Solution:
Use the capture's dw to determine

Verify:
bp201

Change-Id: If71cd884fe10014cee546b74c121f56562b315a6
Signed-off-by: hanghang.luo <hanghang.luo@amlogic.com>
2 files changed