h263: Always check both dimensions