mirror of
https://github.com/mpv-player/mpv.git
synced 2024-09-20 12:02:23 +02:00
Warning fixes for demux_nut
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28135 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
9114f797ef
commit
230b35cb50
@ -64,7 +64,6 @@ static int nut_check_file(demuxer_t * demuxer) {
|
||||
}
|
||||
|
||||
static demuxer_t * demux_open_nut(demuxer_t * demuxer) {
|
||||
extern int index_mode;
|
||||
nut_demuxer_opts_tt dopts = {
|
||||
.input = {
|
||||
.priv = demuxer->stream,
|
||||
@ -97,8 +96,8 @@ static demuxer_t * demux_open_nut(demuxer_t * demuxer) {
|
||||
calloc(sizeof(WAVEFORMATEX) +
|
||||
s[i].codec_specific_len, 1);
|
||||
sh_audio_t* sh_audio = new_sh_audio(demuxer, i);
|
||||
mp_msg(MSGT_DEMUX, MSGL_INFO, MSGTR_AudioID, "nut", i);
|
||||
int j;
|
||||
mp_msg(MSGT_DEMUX, MSGL_INFO, MSGTR_AudioID, "nut", i);
|
||||
|
||||
sh_audio->wf= wf; sh_audio->ds = demuxer->audio;
|
||||
sh_audio->audio.dwSampleSize = 0; // FIXME
|
||||
@ -133,8 +132,8 @@ static demuxer_t * demux_open_nut(demuxer_t * demuxer) {
|
||||
calloc(sizeof(BITMAPINFOHEADER) +
|
||||
s[i].codec_specific_len, 1);
|
||||
sh_video_t * sh_video = new_sh_video(demuxer, i);
|
||||
mp_msg(MSGT_DEMUX, MSGL_INFO, MSGTR_VideoID, "nut", i);
|
||||
int j;
|
||||
mp_msg(MSGT_DEMUX, MSGL_INFO, MSGTR_VideoID, "nut", i);
|
||||
|
||||
sh_video->bih = bih;
|
||||
sh_video->ds = demuxer->video;
|
||||
|
Loading…
Reference in New Issue
Block a user