aboutsummaryrefslogtreecommitdiff
path: root/libavcodec/mjpeg.c
diff options
context:
space:
mode:
authorFalk Hüffner2003-05-15 01:34:47 +0000
committerFalk Hüffner2003-05-15 01:34:47 +0000
commit3db320ea0cef547027f859ac914d4f105a8dad5e (patch)
treef7bc347b933455e32389e1fd1d09ee7130cd50b7 /libavcodec/mjpeg.c
parent94d44f455cc88da93b4fe8f41bd6f5a634ed4713 (diff)
Warning fixes.
Originally committed as revision 1884 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/mjpeg.c')
-rw-r--r--libavcodec/mjpeg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/mjpeg.c b/libavcodec/mjpeg.c
index 135066796f..58cf89fc33 100644
--- a/libavcodec/mjpeg.c
+++ b/libavcodec/mjpeg.c
@@ -478,7 +478,7 @@ static void escape_FF(MpegEncContext *s, int start)
int size= get_bit_count(&s->pb) - start*8;
int i, ff_count;
uint8_t *buf= s->pb.buf + start;
- int align= (-(int)(buf))&3;
+ int align= (-(size_t)(buf))&3;
assert((size&7) == 0);
size >>= 3;