diff options
| author | Michael Roitzsch <mroi@users.sourceforge.net> | 2004-05-30 19:24:17 +0000 |
|---|---|---|
| committer | Michael Roitzsch <mroi@users.sourceforge.net> | 2004-05-30 19:24:17 +0000 |
| commit | df5fbeb013e70f14090cec1998a5f923d6713a1d (patch) | |
| tree | de31c29919f53b88f27bdb7add18706b1b51ddcc /src/libffmpeg/libavcodec/rpza.c | |
| parent | 26de73d1e48ab23af83e352cdc6e9eac41bf8c3b (diff) | |
| download | xine-lib-df5fbeb013e70f14090cec1998a5f923d6713a1d.tar.gz xine-lib-df5fbeb013e70f14090cec1998a5f923d6713a1d.tar.bz2 | |
merge ffmpeg to fix compiler warnings
CVS patchset: 6612
CVS date: 2004/05/30 19:24:17
Diffstat (limited to 'src/libffmpeg/libavcodec/rpza.c')
| -rw-r--r-- | src/libffmpeg/libavcodec/rpza.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libffmpeg/libavcodec/rpza.c b/src/libffmpeg/libavcodec/rpza.c index 1c429f624..2be26346a 100644 --- a/src/libffmpeg/libavcodec/rpza.c +++ b/src/libffmpeg/libavcodec/rpza.c @@ -106,7 +106,7 @@ static void rpza_decode_stream(RpzaContext *s) chunk_size = s->size; /* Number of 4x4 blocks in frame. */ - total_blocks = (s->avctx->width * s->avctx->height) / (4 * 4); + total_blocks = ((s->avctx->width + 3) / 4) * ((s->avctx->height + 3) / 4); /* Process chunk data */ while (stream_ptr < chunk_size) { |
