diff options
author | pacman <pacman@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2006-06-09 22:33:09 +0000 |
---|---|---|
committer | pacman <pacman@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2006-06-09 22:33:09 +0000 |
commit | 2f30f958b08e6b833b402000ed7259be5749ff51 (patch) | |
tree | e8892ac0d88bcab33a8e77837afd3fb525c7ddec | |
parent | 7535dc582a6f2e4ee88e222967a8ff7df01f8347 (diff) |
Fix declaration mixed in among statements in the recent dvr-ms code
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18671 b3059339-0415-0410-9bf9-f77b7e298cf2
-rw-r--r-- | libmpdemux/asfheader.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/libmpdemux/asfheader.c b/libmpdemux/asfheader.c index 2c5691ed28..ebdc1769ca 100644 --- a/libmpdemux/asfheader.c +++ b/libmpdemux/asfheader.c @@ -239,6 +239,8 @@ int read_asf_header(demuxer_t *demuxer,struct asf_priv* asf){ sh_pos = find_backwards_asf_guid(hdr, asf_stream_header_guid, pos); if (sh_pos > 0) { + sh_audio_t *sh_audio; + mp_msg(MSGT_HEADER, MSGL_V, "read_asf_header found dvr-ms audio stream header pos=%d\n", sh_pos); // found audio stream header - following code reads header and // initializes audio stream. @@ -247,7 +249,7 @@ int read_asf_header(demuxer_t *demuxer,struct asf_priv* asf){ le2me_ASF_stream_header_t(streamh); audio_pos += 64; //16+16+4+4+4+16+4; buffer = &hdr[audio_pos]; - sh_audio_t* sh_audio=new_sh_audio(demuxer,streamh->stream_no & 0x7F); + sh_audio=new_sh_audio(demuxer,streamh->stream_no & 0x7F); ++audio_streams; if (!asf_init_audio_stream(demuxer, asf, sh_audio, streamh, &audio_pos, &buffer, hdr, hdr_len)) goto len_err_out; |