minor code cleanups

This commit is contained in:
itsmattkc
2019-08-09 10:43:14 +10:00
parent f26eea1620
commit c0f6ee534a
7 changed files with 6 additions and 15 deletions
+1 -4
View File
@@ -390,10 +390,7 @@ bool FFmpegDecoder::Probe(Footage *f)
break;
// We should never realistically get here, but we make an "invalid" stream just in case
// We don't use a "default:" in case more AVMEDIA_TYPEs get introduced in later APIs that need handling
case AVMEDIA_TYPE_NB:
case AVMEDIA_TYPE_VIDEO:
case AVMEDIA_TYPE_AUDIO:
default:
str->set_type(Stream::kUnknown);
break;
}