This enables reordering support for h.264 main profile level 4.2
streams.

Signed-off-by: Philipp Zabel <p.za...@pengutronix.de>
---
 drivers/media/platform/coda/coda-h264.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/media/platform/coda/coda-h264.c 
b/drivers/media/platform/coda/coda-h264.c
index 0e27412e01f5..945c6a582e37 100644
--- a/drivers/media/platform/coda/coda-h264.c
+++ b/drivers/media/platform/coda/coda-h264.c
@@ -108,6 +108,7 @@ int coda_h264_level(int level_idc)
        case 32: return V4L2_MPEG_VIDEO_H264_LEVEL_3_2;
        case 40: return V4L2_MPEG_VIDEO_H264_LEVEL_4_0;
        case 41: return V4L2_MPEG_VIDEO_H264_LEVEL_4_1;
+       case 42: return V4L2_MPEG_VIDEO_H264_LEVEL_4_2;
        default: return -EINVAL;
        }
 }
-- 
2.17.1

Reply via email to