1
0
mirror of https://github.com/mpv-player/mpv synced 2025-03-05 05:37:37 +00:00

Fix totally wrong (due to mess of brackets) structures size check.

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25117 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
voroshil 2007-11-20 10:01:14 +00:00
parent a9aa43a249
commit 298dd31e32

View File

@ -2047,16 +2047,16 @@ static HRESULT get_available_formats_stream(chain_t *chain)
mp_msg(MSGT_TV, MSGL_DBG4,
"tvi_dshow: Wrong video structure size for GetNumberOfCapabilities (get_available_formats_stream)\n");
return E_FAIL;
} else if (chain->type == audio){
if (size != sizeof(AUDIO_STREAM_CONFIG_CAPS)) {
mp_msg(MSGT_TV, MSGL_DBG4,
}
} else if (chain->type == audio){
if (size != sizeof(AUDIO_STREAM_CONFIG_CAPS)) {
mp_msg(MSGT_TV, MSGL_DBG4,
"tvi_dshow: Wrong audio structure size for GetNumberOfCapabilities (get_available_formats_stream)\n");
return E_FAIL;
} else {
return E_FAIL;
}
} else {
mp_msg(MSGT_TV, MSGL_ERR, MSGTR_TVI_DS_UnsupportedMediaType,"get_available_formats_stream");
return E_FAIL;
}
}
}
done = 0;