[MPlayer-cvslog] r18740 - trunk/libmpdemux/demux_ogg.c
reimar
subversion at mplayerhq.hu
Sat Jun 17 17:01:43 CEST 2006
Author: reimar
Date: Sat Jun 17 17:01:43 2006
New Revision: 18740
Modified:
trunk/libmpdemux/demux_ogg.c
Log:
Fix crash with all audio-only ogg files, the vorbis_info struct is not
stored in the sh_audio context but in the demuxer priv element
Modified: trunk/libmpdemux/demux_ogg.c
==============================================================================
--- trunk/libmpdemux/demux_ogg.c (original)
+++ trunk/libmpdemux/demux_ogg.c Sat Jun 17 17:01:43 2006
@@ -1648,7 +1648,7 @@
rate = os->samplerate;
} else {
os = &ogg_d->subs[demuxer->audio->id];
- rate = (float)((ov_struct_t*)((sh_audio_t*)demuxer->audio->sh)->context)->vi.rate;
+ rate = ogg_d->vi.rate;
}
More information about the MPlayer-cvslog
mailing list