Handle default case, since it will never be reached

This commit is contained in:
Vasishath Kaushal
2021-10-07 20:28:25 +05:30
parent 318e2c30cf
commit 77c24d15c8

View File

@@ -82,6 +82,9 @@ void Vic::Execute() {
case VideoPixelFormat::XBGR32:
target_format = AV_PIX_FMT_0BGR32;
break;
default:
//Unreachable
break;
}
sws_freeContext(scaler_ctx);