diff options
author | arpi_esp <arpi_esp@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2001-04-15 13:57:06 +0000 |
---|---|---|
committer | arpi_esp <arpi_esp@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2001-04-15 13:57:06 +0000 |
commit | 89e6a6f68e023823017b424df936d7086faa96d6 (patch) | |
tree | c8152e09840d02f85bf8e0d60d9621f829ccfcf9 /mplayer.c | |
parent | 975dc485e1fd535df39c1b357a771df3a4ce53ec (diff) |
dirty workaround for video-only files...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@432 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'mplayer.c')
-rw-r--r-- | mplayer.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -1170,9 +1170,10 @@ if(!has_audio){ if(verbose) printf("Freeing %d unused audio chunks\n",d_audio->packs); ds_free_packs(d_audio); // free buffered chunks d_audio->id=-2; // do not read audio chunks - if(sh_audio->a_buffer) free(sh_audio->a_buffer); + if(sh_audio) if(sh_audio->a_buffer) free(sh_audio->a_buffer); alsa=1; // fake, required for timer: + sh_audio=new_sh_audio(255); // FIXME!!!!!!!!!! sh_audio->samplerate=76800; sh_audio->samplesize=sh_audio->channels=2; sh_audio->o_bps=sh_audio->channels*sh_audio->samplerate*sh_audio->samplesize; |