This is an automated email from the git hooks/post-receive script. smcv pushed a commit to tag 1.51 in repository iortcw.
commit 92ee46b844cb356fd3e5ebe802e4dd79e9fb774a Author: MAN-AT-ARMS <m4n4t4...@gmail.com> Date: Fri May 26 17:38:20 2017 -0400 All: Fix some compiler warnings --- MP/code/opus-1.1.4/silk/float/solve_LS_FLP.c | 2 +- MP/code/opusfile-0.8/src/http.c | 2 +- MP/code/opusfile-0.8/src/opusfile.c | 12 ++++++------ SP/code/opus-1.1.4/silk/float/solve_LS_FLP.c | 2 +- SP/code/opusfile-0.8/src/http.c | 2 +- SP/code/opusfile-0.8/src/opusfile.c | 12 ++++++------ 6 files changed, 16 insertions(+), 16 deletions(-) diff --git a/MP/code/opus-1.1.4/silk/float/solve_LS_FLP.c b/MP/code/opus-1.1.4/silk/float/solve_LS_FLP.c index 7c90d66..b35f0a5 100644 --- a/MP/code/opus-1.1.4/silk/float/solve_LS_FLP.c +++ b/MP/code/opus-1.1.4/silk/float/solve_LS_FLP.c @@ -163,7 +163,7 @@ static OPUS_INLINE void silk_LDL_FLP( opus_int i, j, k, loop_count, err = 1; silk_float *ptr1, *ptr2; double temp, diag_min_value; - silk_float v[ MAX_MATRIX_SIZE ], D[ MAX_MATRIX_SIZE ]; /* temp arrays*/ + silk_float v[ MAX_MATRIX_SIZE ] = { 0 }, D[ MAX_MATRIX_SIZE ]; /* temp arrays*/ silk_assert( M <= MAX_MATRIX_SIZE ); diff --git a/MP/code/opusfile-0.8/src/http.c b/MP/code/opusfile-0.8/src/http.c index 99fa8c0..22d75d4 100644 --- a/MP/code/opusfile-0.8/src/http.c +++ b/MP/code/opusfile-0.8/src/http.c @@ -3385,7 +3385,7 @@ void *op_url_stream_vcreate_impl(OpusFileCallbacks *_cb, void *op_url_stream_vcreate(OpusFileCallbacks *_cb, const char *_url,va_list _ap){ OpusServerInfo info; - OpusServerInfo *pinfo; + OpusServerInfo *pinfo=NULL; void *ret; ret=op_url_stream_vcreate_impl(_cb,_url,&info,&pinfo,_ap); if(pinfo!=NULL)*pinfo=*&info; diff --git a/MP/code/opusfile-0.8/src/opusfile.c b/MP/code/opusfile-0.8/src/opusfile.c index b8b3a35..7c3691b 100644 --- a/MP/code/opusfile-0.8/src/opusfile.c +++ b/MP/code/opusfile-0.8/src/opusfile.c @@ -928,7 +928,7 @@ static int op_find_initial_pcm_offset(OggOpusFile *_of, prev_packet_gp=pcm_start; for(pi=0;pi<op_count;pi++){ if(cur_page_eos){ - ogg_int64_t diff; + ogg_int64_t diff=0; OP_ALWAYS_TRUE(!op_granpos_diff(&diff,cur_page_gp,prev_packet_gp)); diff=durations[pi]-diff; /*If we have samples to trim...*/ @@ -1725,7 +1725,7 @@ opus_int64 op_raw_total(const OggOpusFile *_of,int _li){ ogg_int64_t op_pcm_total(const OggOpusFile *_of,int _li){ OggOpusLink *links; - ogg_int64_t diff; + ogg_int64_t diff=0; int nlinks; nlinks=_of->nlinks; if(OP_UNLIKELY(_of->ready_state<OP_OPENED) @@ -2116,7 +2116,7 @@ int op_raw_seek(OggOpusFile *_of,opus_int64 _pos){ static ogg_int64_t op_get_granulepos(const OggOpusFile *_of, ogg_int64_t _pcm_offset,int *_li){ const OggOpusLink *links; - ogg_int64_t duration; + ogg_int64_t duration=0; int nlinks; int li; OP_ASSERT(_pcm_offset>=0); @@ -2189,7 +2189,7 @@ static int op_pcm_seek_page(OggOpusFile *_of, ogg_int64_t _target_gp,int _li){ const OggOpusLink *link; ogg_page og; - ogg_int64_t pcm_pre_skip; + ogg_int64_t pcm_pre_skip=0; ogg_int64_t pcm_start; ogg_int64_t pcm_end; ogg_int64_t best_gp; @@ -2277,7 +2277,7 @@ static int op_pcm_seek_page(OggOpusFile *_of, } } else{ - ogg_int64_t prev_page_gp; + ogg_int64_t prev_page_gp=0; /*We might get lucky and already have the packet with the target buffered. Worth checking. @@ -2606,7 +2606,7 @@ static ogg_int64_t op_get_pcm_offset(const OggOpusFile *_of, ogg_int64_t _gp,int _li){ const OggOpusLink *links; ogg_int64_t pcm_offset; - ogg_int64_t delta; + ogg_int64_t delta=0; int li; links=_of->links; pcm_offset=0; diff --git a/SP/code/opus-1.1.4/silk/float/solve_LS_FLP.c b/SP/code/opus-1.1.4/silk/float/solve_LS_FLP.c index 7c90d66..b35f0a5 100644 --- a/SP/code/opus-1.1.4/silk/float/solve_LS_FLP.c +++ b/SP/code/opus-1.1.4/silk/float/solve_LS_FLP.c @@ -163,7 +163,7 @@ static OPUS_INLINE void silk_LDL_FLP( opus_int i, j, k, loop_count, err = 1; silk_float *ptr1, *ptr2; double temp, diag_min_value; - silk_float v[ MAX_MATRIX_SIZE ], D[ MAX_MATRIX_SIZE ]; /* temp arrays*/ + silk_float v[ MAX_MATRIX_SIZE ] = { 0 }, D[ MAX_MATRIX_SIZE ]; /* temp arrays*/ silk_assert( M <= MAX_MATRIX_SIZE ); diff --git a/SP/code/opusfile-0.8/src/http.c b/SP/code/opusfile-0.8/src/http.c index 99fa8c0..22d75d4 100644 --- a/SP/code/opusfile-0.8/src/http.c +++ b/SP/code/opusfile-0.8/src/http.c @@ -3385,7 +3385,7 @@ void *op_url_stream_vcreate_impl(OpusFileCallbacks *_cb, void *op_url_stream_vcreate(OpusFileCallbacks *_cb, const char *_url,va_list _ap){ OpusServerInfo info; - OpusServerInfo *pinfo; + OpusServerInfo *pinfo=NULL; void *ret; ret=op_url_stream_vcreate_impl(_cb,_url,&info,&pinfo,_ap); if(pinfo!=NULL)*pinfo=*&info; diff --git a/SP/code/opusfile-0.8/src/opusfile.c b/SP/code/opusfile-0.8/src/opusfile.c index b8b3a35..7c3691b 100644 --- a/SP/code/opusfile-0.8/src/opusfile.c +++ b/SP/code/opusfile-0.8/src/opusfile.c @@ -928,7 +928,7 @@ static int op_find_initial_pcm_offset(OggOpusFile *_of, prev_packet_gp=pcm_start; for(pi=0;pi<op_count;pi++){ if(cur_page_eos){ - ogg_int64_t diff; + ogg_int64_t diff=0; OP_ALWAYS_TRUE(!op_granpos_diff(&diff,cur_page_gp,prev_packet_gp)); diff=durations[pi]-diff; /*If we have samples to trim...*/ @@ -1725,7 +1725,7 @@ opus_int64 op_raw_total(const OggOpusFile *_of,int _li){ ogg_int64_t op_pcm_total(const OggOpusFile *_of,int _li){ OggOpusLink *links; - ogg_int64_t diff; + ogg_int64_t diff=0; int nlinks; nlinks=_of->nlinks; if(OP_UNLIKELY(_of->ready_state<OP_OPENED) @@ -2116,7 +2116,7 @@ int op_raw_seek(OggOpusFile *_of,opus_int64 _pos){ static ogg_int64_t op_get_granulepos(const OggOpusFile *_of, ogg_int64_t _pcm_offset,int *_li){ const OggOpusLink *links; - ogg_int64_t duration; + ogg_int64_t duration=0; int nlinks; int li; OP_ASSERT(_pcm_offset>=0); @@ -2189,7 +2189,7 @@ static int op_pcm_seek_page(OggOpusFile *_of, ogg_int64_t _target_gp,int _li){ const OggOpusLink *link; ogg_page og; - ogg_int64_t pcm_pre_skip; + ogg_int64_t pcm_pre_skip=0; ogg_int64_t pcm_start; ogg_int64_t pcm_end; ogg_int64_t best_gp; @@ -2277,7 +2277,7 @@ static int op_pcm_seek_page(OggOpusFile *_of, } } else{ - ogg_int64_t prev_page_gp; + ogg_int64_t prev_page_gp=0; /*We might get lucky and already have the packet with the target buffered. Worth checking. @@ -2606,7 +2606,7 @@ static ogg_int64_t op_get_pcm_offset(const OggOpusFile *_of, ogg_int64_t _gp,int _li){ const OggOpusLink *links; ogg_int64_t pcm_offset; - ogg_int64_t delta; + ogg_int64_t delta=0; int li; links=_of->links; pcm_offset=0; -- Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/iortcw.git _______________________________________________ Pkg-games-commits mailing list Pkg-games-commits@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-games-commits