don't call fixup_audio if there's no audio
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15423 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
1 parent
30ef9de4fe
commit
da2a598d9d
1 file changed
+3
-2
@@ -1187,8 +1187,9 @@ int demux_ogg_open(demuxer_t* demuxer) {
|
||||
|
||||
mp_msg(MSGT_DEMUX,MSGL_V,"Ogg demuxer : found %d audio stream%s, %d video stream%s and %d text stream%s\n",n_audio,n_audio>1?"s":"",n_video,n_video>1?"s":"",ogg_d->n_text,ogg_d->n_text>1?"s":"");
|
||||
|
||||
if(sh_a->format == FOURCC_VORBIS)
|
||||
fixup_vorbis_wf(sh_a);
|
||||
if(sh_a)
|
||||
if(sh_a->format == FOURCC_VORBIS)
|
||||
fixup_vorbis_wf(sh_a);
|
||||
|
||||
return 1;
|
||||
|
||||
|
||||
Reference in new issue
Block a user