[vlc-commits] omxil: Avoid warnings about differences in signedness
Martin Storsjö
git at videolan.org
Thu Sep 29 10:25:27 CEST 2011
vlc | branch: master | Martin Storsjö <martin at martin.st> | Thu Sep 29 11:20:53 2011 +0300| [39bdf338c05b9e223a67f3a22ebdc856de5dd76d] | committer: Jean-Baptiste Kempf
omxil: Avoid warnings about differences in signedness
For omxil, the nal size has already been parsed out elsewhere, so
we don't need it returned here.
This fixes this warning:
omxil.c:926: warning: pointer targets in passing argument 7 of 'convert_sps_pps' differ in signedness
h264_nal.h:22: note: expected 'uint32_t *' but argument is of type 'int *'
Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=39bdf338c05b9e223a67f3a22ebdc856de5dd76d
---
modules/codec/omxil/omxil.c | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
diff --git a/modules/codec/omxil/omxil.c b/modules/codec/omxil/omxil.c
index 71bfcfd..f636493 100644
--- a/modules/codec/omxil/omxil.c
+++ b/modules/codec/omxil/omxil.c
@@ -926,8 +926,7 @@ static int OpenGeneric( vlc_object_t *p_this, bool b_encode )
p_header->nFilledLen = 0;
convert_sps_pps( p_dec, p_dec->fmt_in.p_extra, p_dec->fmt_in.i_extra,
p_header->pBuffer, p_header->nAllocLen,
- (uint32_t*) &p_header->nFilledLen,
- &p_sys->i_nal_size_length );
+ (uint32_t*) &p_header->nFilledLen, NULL );
}
else if(p_sys->in.b_direct)
{
More information about the vlc-commits
mailing list