demux: remove unused flag

This commit is contained in:
wm4 2016-01-18 17:42:34 +01:00
parent dfe630c5d1
commit 2bbed80135
2 changed files with 1 additions and 4 deletions

View File

@ -160,7 +160,6 @@ struct demuxer_params {
struct matroska_segment_uid *matroska_wanted_uids;
int matroska_wanted_segment;
bool *matroska_was_valid;
bool expect_subtitle;
// -- demux_open_url() only
int stream_flags;
bool allow_capture;

View File

@ -693,9 +693,7 @@ struct track *mp_add_external_file(struct MPContext *mpctx, char *filename,
if (strncmp(disp_filename, "memory://", 9) == 0)
disp_filename = "memory://"; // avoid noise
struct demuxer_params params = {
.expect_subtitle = filter == STREAM_SUB,
};
struct demuxer_params params = {0};
switch (filter) {
case STREAM_SUB: