mirror of
https://github.com/mpv-player/mpv
synced 2024-10-30 04:46:41 +01:00
dump wav header
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7848 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
a4aeb52659
commit
3dad4315a4
@ -164,6 +164,7 @@ int demux_audio_open(demuxer_t* demuxer) {
|
|||||||
w->wBitsPerSample = sh_audio->samplesize = stream_read_word_le(s);
|
w->wBitsPerSample = sh_audio->samplesize = stream_read_word_le(s);
|
||||||
w->cbSize = 0;
|
w->cbSize = 0;
|
||||||
l -= 16;
|
l -= 16;
|
||||||
|
if(verbose>0) print_wave_header(w);
|
||||||
if(l)
|
if(l)
|
||||||
stream_skip(s,l);
|
stream_skip(s,l);
|
||||||
do
|
do
|
||||||
@ -175,6 +176,7 @@ int demux_audio_open(demuxer_t* demuxer) {
|
|||||||
} while (chunk_type != mmioFOURCC('d', 'a', 't', 'a'));
|
} while (chunk_type != mmioFOURCC('d', 'a', 't', 'a'));
|
||||||
demuxer->movi_start = stream_tell(s);
|
demuxer->movi_start = stream_tell(s);
|
||||||
demuxer->movi_end = s->end_pos;
|
demuxer->movi_end = s->end_pos;
|
||||||
|
// printf("wav: %X .. %X\n",(int)demuxer->movi_start,(int)demuxer->movi_end);
|
||||||
} break;
|
} break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user