libobs, obs-x264: Fix compiler warnings

This commit is contained in:
Clayton Groeneveld
2020-01-21 15:18:09 -06:00
parent 345e933d9f
commit 4e3a0180ba
3 changed files with 5 additions and 3 deletions

View File

@@ -367,6 +367,7 @@ static inline const char *get_x264_colorspace_name(enum video_colorspace cs)
switch (cs) {
case VIDEO_CS_DEFAULT:
case VIDEO_CS_601:
case VIDEO_CS_SRGB:
return "undef";
case VIDEO_CS_709:;
}