mirror of
https://github.com/mpv-player/mpv
synced 2024-12-25 08:12:17 +00:00
more c++ decl crap
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18990 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
79bacf325c
commit
22bbf3a01b
@ -187,9 +187,10 @@ static demuxer_t* demux_open_lavf(demuxer_t *demuxer){
|
||||
switch(codec->codec_type){
|
||||
case CODEC_TYPE_AUDIO:{
|
||||
WAVEFORMATEX *wf= calloc(sizeof(WAVEFORMATEX) + codec->extradata_size, 1);
|
||||
sh_audio_t* sh_audio;
|
||||
if(priv->audio_streams >= MAX_A_STREAMS)
|
||||
break;
|
||||
sh_audio_t* sh_audio=new_sh_audio(demuxer, i);
|
||||
sh_audio=new_sh_audio(demuxer, i);
|
||||
if(!sh_audio)
|
||||
break;
|
||||
priv->astreams[priv->audio_streams] = i;
|
||||
|
Loading…
Reference in New Issue
Block a user