Add fallthrough attribute
This commit is contained in:
@@ -851,6 +851,7 @@ error_code cellVdecGetPicture(u32 handle, vm::cptr<CellVdecPicFormat> format, vm
|
||||
{
|
||||
case AV_PIX_FMT_YUVJ420P:
|
||||
cellVdec.error("cellVdecGetPicture(): experimental AVPixelFormat (%d). This may cause suboptimal video quality.", frame->format);
|
||||
[[fallthrough]];
|
||||
case AV_PIX_FMT_YUV420P:
|
||||
in_f = alpha_plane ? AV_PIX_FMT_YUVA420P : static_cast<AVPixelFormat>(frame->format);
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user