[FFmpeg-soc] [soc]: r4243 - jpeg2000/j2kdec.c
jai_menon
subversion at mplayerhq.hu
Tue Apr 28 16:44:08 CEST 2009
Author: jai_menon
Date: Tue Apr 28 16:44:08 2009
New Revision: 4243
Log:
Revert "Silence gcc warning : libavcodec/j2kdec.c:79: warning: suggest"
This reverts commit 093fa8772cf7a054a39386fb5513ebbcf609a96c.
Modified:
jpeg2000/j2kdec.c
Modified: jpeg2000/j2kdec.c
==============================================================================
--- jpeg2000/j2kdec.c Tue Apr 28 16:32:55 2009 (r4242)
+++ jpeg2000/j2kdec.c Tue Apr 28 16:44:08 2009 (r4243)
@@ -76,7 +76,7 @@ typedef struct {
static int get_bits(J2kDecoderContext *s, int n)
{
int res = 0;
- if ((s->buf_end - s->buf) < (n - s->bit_index >> 8))
+ if (s->buf_end - s->buf < (n - s->bit_index >> 8))
return AVERROR(EINVAL);
while (--n >= 0){
res <<= 1;
More information about the FFmpeg-soc
mailing list