summaryrefslogtreecommitdiffstats
path: root/libmpeg2
diff options
context:
space:
mode:
authorarpi <arpi@b3059339-0415-0410-9bf9-f77b7e298cf2>2001-10-04 18:30:30 +0000
committerarpi <arpi@b3059339-0415-0410-9bf9-f77b7e298cf2>2001-10-04 18:30:30 +0000
commit59295d1b3d5ba2b76e214b5dd102cb0805bae834 (patch)
tree5c56b6de44cfe8edab34136116888f38e956726b /libmpeg2
parentef67ce917c9f7519cfbb600b73b66c7de963fbcf (diff)
downloadmpv-59295d1b3d5ba2b76e214b5dd102cb0805bae834.tar.bz2
mpv-59295d1b3d5ba2b76e214b5dd102cb0805bae834.tar.xz
gcc3 warning fixed
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2081 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libmpeg2')
-rw-r--r--libmpeg2/decode.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libmpeg2/decode.c b/libmpeg2/decode.c
index ba0025043d..3e7e3bde05 100644
--- a/libmpeg2/decode.c
+++ b/libmpeg2/decode.c
@@ -115,7 +115,7 @@ void mpeg2_allocate_image_buffers (picture_t * picture)
#else
for(i=0;i<3;i++){
#endif
- base = memalign(64,buff_size);
+ base = (unsigned char *)memalign(64,buff_size);
frames[i].base[0] = base;
frames[i].base[1] = base + frame_size * 5 / 4;
frames[i].base[2] = base + frame_size;