diff options
author | Derek Buitenhuis <derek.buitenhuis@gmail.com> | 2011-11-07 12:20:26 -0500 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2011-11-07 19:37:38 +0100 |
commit | 1ff1b5f7f64402198341c3b0f91ae8dc6e07dca8 (patch) | |
tree | 9920b39d95d3c97c36e538514914528f3ef48815 /libavcodec/libutvideo.cpp | |
parent | f44f093d6009f1027fc2cded80b7aa76f974b750 (diff) | |
download | ffmpeg-1ff1b5f7f64402198341c3b0f91ae8dc6e07dca8.tar.gz |
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>
Diffstat (limited to 'libavcodec/libutvideo.cpp')
-rw-r--r-- | libavcodec/libutvideo.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/libutvideo.cpp b/libavcodec/libutvideo.cpp index fa1bcc5504..e92b3e2686 100644 --- a/libavcodec/libutvideo.cpp +++ b/libavcodec/libutvideo.cpp @@ -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; |