[vlc-commits] shine: Don't assume int == long int
Hugo Beauzée-Luyssen
git at videolan.org
Tue Oct 3 17:23:19 CEST 2017
vlc | branch: master | Hugo Beauzée-Luyssen <hugo at beauzee.fr> | Thu Sep 28 15:35:04 2017 +0200| [9f7d8ed71af2f8285d27698fdb9bd567594c1bb6] | committer: Hugo Beauzée-Luyssen
shine: Don't assume int == long int
shine_encode_buffer expects an integer
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=9f7d8ed71af2f8285d27698fdb9bd567594c1bb6
---
modules/codec/shine.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/modules/codec/shine.c b/modules/codec/shine.c
index 2aff3f6331..a96e0e6067 100644
--- a/modules/codec/shine.c
+++ b/modules/codec/shine.c
@@ -246,7 +246,7 @@ static block_t *EncodeFrame( encoder_t *p_enc, block_t *p_block )
aout_Deinterleave( pcm_planar_buf, p_pcm_block->p_buffer,
p_sys->samples_per_frame, p_enc->fmt_in.audio.i_channels, p_enc->fmt_in.i_codec);
- long written;
+ int written;
unsigned char *buf = shine_encode_buffer(p_sys->s, pcm_planar_buf_chans, &written);
block_Release( p_pcm_block );
More information about the vlc-commits
mailing list