libutvideodec: Width and height don't need to be unsigned

Width and height, as used in utvideo_decode_frame, do not
need to be unsigned, and it could cause sign-compare
warnings later on.

Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
Derek Buitenhuis 2011-11-07 12:20:26 -05:00 committed by Michael Niedermayer
parent f44f093d60
commit 1ff1b5f7f6
1 changed files with 1 additions and 1 deletions

View File

@ -130,7 +130,7 @@ static int utvideo_decode_frame(AVCodecContext *avctx, void *data,
{
UtVideoContext *utv = (UtVideoContext *)avctx->priv_data;
AVFrame *pic = avctx->coded_frame;
unsigned int w = avctx->width, h = avctx->height;
int w = avctx->width, h = avctx->height;
/* Set flags */
pic->reference = 0;