MLK-22164-2 VPU Decoder: check input frame type before update to ring buffer
authorShijie Qin <shijie.qin@nxp.com>
Thu, 1 Aug 2019 11:52:51 +0000 (19:52 +0800)
committerShijie Qin <shijie.qin@nxp.com>
Mon, 5 Aug 2019 02:46:04 +0000 (10:46 +0800)
commite57e6b4924f7f31bed5b05123e92795fa68273ae
tree82fadf69dd36d2da7a5b5e849c07612b71a09041
parentbf3af829c84dae9ed6f6599969bdfc0ab8e2bfb3
MLK-22164-2 VPU Decoder: check input frame type before update to ring buffer

Previously, only process for RV format, other formats should also
be treated in the same way.

Signed-off-by: Shijie Qin <shijie.qin@nxp.com>
Reviewed-by: ming_qian <ming.qian@nxp.com>
drivers/mxc/vpu_malone/insert_startcode.c
drivers/mxc/vpu_malone/insert_startcode.h
drivers/mxc/vpu_malone/vpu_b0.c
drivers/mxc/vpu_malone/vpu_b0.h