diff options
author | rfelker <rfelker@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2006-07-10 02:53:06 +0000 |
---|---|---|
committer | rfelker <rfelker@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2006-07-10 02:53:06 +0000 |
commit | 22bbf3a01bc35b07a49effb5298955767dd1549a (patch) | |
tree | 297a1c71cb33ebc1577a2f2cb92cd11c1600b23a | |
parent | 79bacf325c3bec6be602a68eb19b26f62c39221c (diff) |
more c++ decl crap
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18990 b3059339-0415-0410-9bf9-f77b7e298cf2
-rw-r--r-- | libmpdemux/demux_lavf.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libmpdemux/demux_lavf.c b/libmpdemux/demux_lavf.c index 3ec9c66080..8440677023 100644 --- a/libmpdemux/demux_lavf.c +++ b/libmpdemux/demux_lavf.c @@ -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; |