diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2012-11-09 21:22:12 +0100 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2012-11-09 21:22:12 +0100 |
commit | 98b377004d9c6fa1c1756c814efe9882b65f96b9 (patch) | |
tree | 114bc12a0ca68f20c40af785684e50571064f5bd /libavcodec/twinvq.c | |
parent | 2fbb37b51bbea891392ad357baf8f3dff00bac05 (diff) | |
download | ffmpeg-98b377004d9c6fa1c1756c814efe9882b65f96b9.tar.gz |
twinvq: make ibps check unsigned
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/twinvq.c')
-rw-r--r-- | libavcodec/twinvq.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/twinvq.c b/libavcodec/twinvq.c index 7281d9cd2d..88c1c9a6c8 100644 --- a/libavcodec/twinvq.c +++ b/libavcodec/twinvq.c @@ -1142,7 +1142,7 @@ static av_cold int twin_decode_init(AVCodecContext *avctx) ibps = avctx->bit_rate / (1000 * avctx->channels); - if (ibps > 255) { + if (ibps > 255U) { av_log(avctx, AV_LOG_ERROR, "unsupported per channel bitrate %dkbps\n", ibps); return AVERROR_INVALIDDATA; } |