demux_lavf: don't reject av:// if cache is enabled

Enabling the cache doesn't make much in this situation, but there's also
no reason not to reject it.
This commit is contained in:
wm4 committed 2014-08-27 23:12:49 +02:00
1 parent 1c44db2992
commit 7bb1afb8ea
1 file changed
+1 -1
+1 -1
View File
@@ -234,7 +234,7 @@ static int lavf_check_file(demuxer_t *demuxer, enum demux_check check)
priv->filename = remove_prefix(priv->filename, prefixes);
char *avdevice_format = NULL;
if (s->type == STREAMTYPE_AVDEVICE) {
if (s->uncached_type == STREAMTYPE_AVDEVICE) {
// always require filename in the form "format:filename"
char *sep = strchr(priv->filename, ':');
if (!sep) {