summaryrefslogtreecommitdiffstats
path: root/mplayer.c
diff options
context:
space:
mode:
Diffstat (limited to 'mplayer.c')
-rw-r--r--mplayer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mplayer.c b/mplayer.c
index 23c5a8e37d..dc82adec0b 100644
--- a/mplayer.c
+++ b/mplayer.c
@@ -1848,7 +1848,7 @@ static int mp_property_audio(m_option_t* prop,int action,void* arg) {
if (demuxer->type == DEMUXER_TYPE_MATROSKA)
demux_mkv_get_audio_lang(demuxer, audio_id, lang, 9);
#ifdef USE_DVDREAD
- else {
+ else if(stream->type == STREAMTYPE_DVD) {
int code = dvd_lang_from_aid(stream, audio_id);
if (code) {
lang[0] = code >> 8;