Commit dbb23bab authored by Derk-Jan Hartman's avatar Derk-Jan Hartman

* If codec_type != video | audio, then don't use the ffmpeg demux. (it was...

* If codec_type != video | audio, then don't use the ffmpeg demux. (it was crashing on .gif pictures).
parent dfa05a44
...@@ -217,7 +217,8 @@ int E_(OpenDemux)( vlc_object_t *p_this ) ...@@ -217,7 +217,8 @@ int E_(OpenDemux)( vlc_object_t *p_this )
} }
break; break;
default: default:
break; E_(CloseDemux)( p_this );
return VLC_EGENERIC;
} }
fmt.i_extra = cc->extradata_size; fmt.i_extra = cc->extradata_size;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment