diff options
author | Måns Rullgård <mans@mansr.com> | 2006-09-27 19:47:39 +0000 |
---|---|---|
committer | Måns Rullgård <mans@mansr.com> | 2006-09-27 19:47:39 +0000 |
commit | 191e8ca75279073699e0c0f25128b2b2088d1cbb (patch) | |
tree | 7c9089d9008566884d42bad2f3294eb318a0e5d9 /libavcodec/mjpeg.c | |
parent | d80f243ae996ced4bce81b12ada3af7803ce36f0 (diff) | |
download | ffmpeg-191e8ca75279073699e0c0f25128b2b2088d1cbb.tar.gz |
fix some signedness warnings
Originally committed as revision 6355 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/mjpeg.c')
-rw-r--r-- | libavcodec/mjpeg.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/mjpeg.c b/libavcodec/mjpeg.c index a232b2664f..f0be96426e 100644 --- a/libavcodec/mjpeg.c +++ b/libavcodec/mjpeg.c @@ -1801,7 +1801,7 @@ static int mjpeg_decode_com(MJpegDecodeContext *s) { int len = get_bits(&s->gb, 16); if (len >= 2 && 8*len - 16 + get_bits_count(&s->gb) <= s->gb.size_in_bits) { - uint8_t *cbuf = av_malloc(len - 1); + char *cbuf = av_malloc(len - 1); if (cbuf) { int i; for (i = 0; i < len - 2; i++) |