diff options
| author | Mickael Savinaud <savmickael@users.noreply.github.com> | 2011-07-28 10:45:22 +0000 |
|---|---|---|
| committer | Mickael Savinaud <savmickael@users.noreply.github.com> | 2011-07-28 10:45:22 +0000 |
| commit | e716a316f60f66cd5a6fb07b88b2cb8b9c815cec (patch) | |
| tree | 4f7e13104780fa5ac5199111cd64088ada0d9918 /libopenjpeg/dwt.c | |
| parent | c2b0a8101b21babd3e3572c18497df2c9a1f85ac (diff) | |
manage case 0 frames inside yuv_num_frames function and correct some warnings with gcc4.5 (credit to Winfried)
Diffstat (limited to 'libopenjpeg/dwt.c')
| -rw-r--r-- | libopenjpeg/dwt.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libopenjpeg/dwt.c b/libopenjpeg/dwt.c index 3436b103..e7d74e2f 100644 --- a/libopenjpeg/dwt.c +++ b/libopenjpeg/dwt.c @@ -527,7 +527,7 @@ static void dwt_decode_tile(opj_tcd_tilecomp_t* tilec, int numres, DWT1DFN dwt_1 int w = tilec->x1 - tilec->x0; - h.mem = opj_aligned_malloc(dwt_decode_max_resolution(tr, numres) * sizeof(int)); + h.mem = (int*)opj_aligned_malloc(dwt_decode_max_resolution(tr, numres) * sizeof(int)); v.mem = h.mem; while( --numres) { |
