Handle default case, since it will never be reached
This commit is contained in:
@@ -82,6 +82,9 @@ void Vic::Execute() {
|
|||||||
case VideoPixelFormat::XBGR32:
|
case VideoPixelFormat::XBGR32:
|
||||||
target_format = AV_PIX_FMT_0BGR32;
|
target_format = AV_PIX_FMT_0BGR32;
|
||||||
break;
|
break;
|
||||||
|
default:
|
||||||
|
//Unreachable
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
sws_freeContext(scaler_ctx);
|
sws_freeContext(scaler_ctx);
|
||||||
|
|||||||
Reference in New Issue
Block a user