100l typo fix, mixed up +-1 forcing the loop filter skip to never skip.
authorMichael Niedermayer <michaelni@gmx.at>
Tue, 26 Jan 2010 13:30:33 +0000 (13:30 +0000)
committerMichael Niedermayer <michaelni@gmx.at>
Tue, 26 Jan 2010 13:30:33 +0000 (13:30 +0000)
Originally committed as revision 21455 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavcodec/h264.c

index 2de6f6c..e4a47cf 100644 (file)
@@ -2201,7 +2201,7 @@ static void loop_filter(H264Context *h){
                     uvlinesize = h->mb_uvlinesize = s->uvlinesize;
                 }
                 backup_mb_border(h, dest_y, dest_cb, dest_cr, linesize, uvlinesize, 0);
-                if(fill_filter_caches(h, mb_type) < 0)
+                if(fill_filter_caches(h, mb_type))
                     continue;
                 h->chroma_qp[0] = get_chroma_qp(h, 0, s->current_picture.qscale_table[mb_xy]);
                 h->chroma_qp[1] = get_chroma_qp(h, 1, s->current_picture.qscale_table[mb_xy]);