[MPlayer-cvslog] r28135 - trunk/libmpdemux/demux_nut.c

ods15 subversion at mplayerhq.hu
Fri Dec 12 06:08:28 CET 2008


Author: ods15
Date: Fri Dec 12 06:08:28 2008
New Revision: 28135

Log:
Warning fixes for demux_nut

Modified:
   trunk/libmpdemux/demux_nut.c

Modified: trunk/libmpdemux/demux_nut.c
==============================================================================
--- trunk/libmpdemux/demux_nut.c	(original)
+++ trunk/libmpdemux/demux_nut.c	Fri Dec 12 06:08:28 2008
@@ -64,7 +64,6 @@ static int nut_check_file(demuxer_t * de
 }
 
 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(demuxe
 				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(demuxe
 				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;



More information about the MPlayer-cvslog mailing list