[mpp_dec]: fix hdr stream dump yuv error.

Signed-off-by: xueman.ruan <xueman.ruan@rock-chips.com>
Change-Id: Ibf13d81dfec194bb607a1fe881227951bb1509e0
This commit is contained in:
xueman.ruan
2023-03-29 15:10:00 +08:00
committed by Herman Chen
parent 6056a6283d
commit ef67776801
2 changed files with 2 additions and 2 deletions

View File

@@ -71,7 +71,7 @@ void dump_mpp_frame_to_file(MppFrame frame, FILE *fp)
if (MPP_FRAME_FMT_IS_RGB(fmt) && MPP_FRAME_FMT_IS_LE(fmt)) {
fmt &= MPP_FRAME_FMT_MASK;
}
switch (fmt) {
switch (fmt & MPP_FRAME_FMT_MASK) {
case MPP_FMT_YUV422SP : {
/* YUV422SP -> YUV422P for better display */
RK_U32 i, j;