Mercurial > libavcodec.hg
comparison dv.c @ 8990:cc8f95accbff libavcodec
Fixing a value returning issue
author | romansh |
---|---|
date | Fri, 20 Feb 2009 02:00:44 +0000 |
parents | 5337b260a70d |
children | 54bc8a2727b0 |
comparison
equal
deleted
inserted
replaced
8989:cdd8fa4a362a | 8990:cc8f95accbff |
---|---|
814 if (ps > 0) { | 814 if (ps > 0) { |
815 int is = s->ildct_cmp(NULL, data , NULL, linesize<<1, 4) + | 815 int is = s->ildct_cmp(NULL, data , NULL, linesize<<1, 4) + |
816 s->ildct_cmp(NULL, data + linesize, NULL, linesize<<1, 4); | 816 s->ildct_cmp(NULL, data + linesize, NULL, linesize<<1, 4); |
817 return (ps > is); | 817 return (ps > is); |
818 } | 818 } |
819 } else | 819 } |
820 return 0; | 820 |
821 return 0; | |
821 } | 822 } |
822 | 823 |
823 static av_always_inline int dv_init_enc_block(EncBlockInfo* bi, uint8_t *data, int linesize, DVVideoContext *s, int bias) | 824 static av_always_inline int dv_init_enc_block(EncBlockInfo* bi, uint8_t *data, int linesize, DVVideoContext *s, int bias) |
824 { | 825 { |
825 const int *weight; | 826 const int *weight; |