mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
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:
parent
f44f093d60
commit
1ff1b5f7f6
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user