summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorods15 <ods15@b3059339-0415-0410-9bf9-f77b7e298cf2>2006-10-11 20:53:33 +0000
committerods15 <ods15@b3059339-0415-0410-9bf9-f77b7e298cf2>2006-10-11 20:53:33 +0000
commitee88e6f26fcacea021c5f0f78258ba1f6f43d7ef (patch)
tree1ece9a0420d5bfaf01bc43e3b118eb02516a34e0
parent884d24616d8bb78c45f2aac0c646d46d6916537c (diff)
downloadmpv-ee88e6f26fcacea021c5f0f78258ba1f6f43d7ef.tar.bz2
mpv-ee88e6f26fcacea021c5f0f78258ba1f6f43d7ef.tar.xz
gcc 2.95 fix
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20164 b3059339-0415-0410-9bf9-f77b7e298cf2
-rw-r--r--stream/stream_dvd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/stream/stream_dvd.c b/stream/stream_dvd.c
index 030343fb56..e20bb78f33 100644
--- a/stream/stream_dvd.c
+++ b/stream/stream_dvd.c
@@ -142,10 +142,10 @@ int dvd_chapter_from_cell(dvd_priv_t* dvd,int title,int cell)
int dvd_lang_from_aid(stream_t *stream, int id) {
dvd_priv_t *d;
+ int i;
if (!stream) return 0;
d = stream->priv;
if (!d) return 0;
- int i;
for(i=0;i<d->nr_of_channels;i++) {
if(d->audio_streams[i].id==id)
return d->audio_streams[i].language;