X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=libavcodec%2Featqi.c;h=55c080dea88b60963806b21e2e9d556cbaaac8f2;hb=85044358f63f0158fb83712f659f6db5b454a7aa;hp=9e773bcb0e4b226c752ba4ea191a4c53f5eb6490;hpb=27744fe439c59182e608c381928817d64bb21d96;p=ffmpeg diff --git a/libavcodec/eatqi.c b/libavcodec/eatqi.c index 9e773bcb0e4..55c080dea88 100644 --- a/libavcodec/eatqi.c +++ b/libavcodec/eatqi.c @@ -62,7 +62,7 @@ static int tqi_decode_mb(MpegEncContext *s, DCTELEM (*block)[64]) int n; s->dsp.clear_blocks(block[0]); for (n=0; n<6; n++) - if(ff_mpeg1_decode_block_intra(s, block[n], n)<0) + if (ff_mpeg1_decode_block_intra(s, block[n], n) < 0) return -1; return 0; @@ -138,7 +138,7 @@ static int tqi_decode_frame(AVCodecContext *avctx, for (s->mb_y=0; s->mb_y<(avctx->height+15)/16; s->mb_y++) for (s->mb_x=0; s->mb_x<(avctx->width+15)/16; s->mb_x++) { - if(tqi_decode_mb(s, t->block) < 0) + if (tqi_decode_mb(s, t->block) < 0) goto end; tqi_idct_put(t, t->block); }